Here is the most complete list of ColdFusion functions available via both branches of CFJS.
Last updated: 10/15/2009
CFJS ver. 1.1.12
| ArrayAppend |
| ArrayAverage* |
| ArrayClear* |
| ArrayDeleteAt* |
| ArrayInsertAt* |
| ArrayLen |
| ArrayPrepend |
| ArraySort |
| ArraySum* |
| ArrayToList |
*These functions are on my To-do list
| CreateDate |
| CreateDateTime |
| CreateTime |
| CreateODBCDate |
| CreateODBCDateTime |
| CreateODBCTime |
| DateDiff |
| DatePart |
| IsArray |
| IsBoolean |
| IsDate |
| IsDefined |
| IsLeapYear |
| IsNumeric |
| IsSimpleValue |
| IsString |
| IsStruct |
| IsValid |
| DateFormat |
| DecimalFormat |
| DollarFormat |
| TimeFormat |
| ListAppend |
| ListChangeDelims |
| ListContains |
| ListContainsNoCase |
| ListDeleteAt |
| ListFind |
| ListFindNoCase |
| ListFirst |
| ListGetAt |
| ListInsertAt |
| ListLast |
| ListLen |
| ListPrepend |
| ListRest |
| ListSetAt |
| ListSort |
| ListToArray |
| ListValueCount |
| ListValueCountNoCase |
| Compare |
| CompareNoCase |
| Find |
| FindNoCase |
| HTMLCodeFormat |
| HTMLEditFormat |
| Insert |
| LCase |
| Left |
| Len |
| LTrim |
| Mid |
| Pad |
| Param |
| RepeatString |
| Replace |
| ReplaceNoCase |
| Reverse |
| Right |
| Round** |
| RTrim |
| Trim |
| UCase |
| URLDecode |
| URLEncodedFormat |
**Round works slightly different in this implementation verses ColdFusion. ColdFusion only rounds up to the nearest whole number. The CFJS version of Round() allows an optional argument for the number of decimal places of precision.
| StructKeyArray |
| StructKeyList |
| StructKeyExists |
***In JavaScript what a CF programmer would call a structure is called a hash. A hash is also an associative array. Both are objects, and both can be accessed the same way that they are accessed in ColdFusion (using dot or array notation).
Please check out this excellent page from Peter-Paul Koch (QuirksMode.org) for a much more detailed explaination. :o)