ColdFusion MX 7.0 provides us with a series of complete data processing and formatting functions, a total of 18 categories, 411 functions. Note the following when using the ColdFusion MX 7.0 function:
ColdFusion MX 7.0 adds a lot of functions than the previous 6.1, and the number of functions is sufficient for our development work. The following is the function category description:
1. array functions (19)-create and manage 2D and 3D arrays.
2. Conversion Function (18) -- used to convert one form to another.
3. Date and Time Functions (41): used to create, analyze, format, convert, compare, analyze, and process data and time values.
4. Judgment function (35)
5. Display and formatting functions (27)-used to format currencies, time, HTML, numbers, and other methods suitable for local display
6. Expression assignment function (4) -- used to create an expression and assign values to it.
7. extensible functions (5): used to create objects, COM, gateways, and other operations.
8. Full-text search function (5) -- used for K2 server-side operations
9. International functions (20)-used to provide regional support for data, time, and other data types
10. List function (38): Used to add, delete, convert, and query list values.
11. mathematical functions (37): used for calculation, conversion, and random number generation.
12. Other functions (9) -- used for special operations such as checking and formatting parameters.
13. query function (7)-mainly for SQL statement operations.
14. Security Functions (7)-mainly including encryption and decryption.
15. string processing functions (68)-used for text analysis, comparison, conversion, encryption, formatting, decryption, search, and other operations.
16. structure processing function (19) -- used to create and manage the ColdFusion MX structure.
17. system functions (28) -- Used in advanced operations to allow you to access system directories, temporary files, and path processing functions.
18. XML language processing functions (24): used to create, manage, add, delete, convert, Webserver, wddx, soap, and other related operations.
(Array Function) array Functions
| Arrayappend |
Arrayisempty |
Arrayprepend |
| Arrayavg |
Arraylen |
Arrayresize |
| Arrayclear |
Arraymax |
Arrayset |
| Arraydeleteat |
Arraymin |
Arraysort |
| Arrayinsertat |
Arraynew |
Arraysum |
| Arrayswap |
Arraytolist |
Isarray |
| Listtoarray |
|
|
(Conversion Function) conversion functions
| Arraytolist |
Hash |
Toscript |
| Binarydecode |
Lcase |
Tostring |
| Binaryencode |
Listtoarray |
Urldecode |
| Charsetdecode |
Tobase64 |
Urlencodedformat |
| Charsetencode |
Tobinary |
Val |
| Xmlformat |
Xmlparse |
Xmltransform |
(Date and Time Functions) Date and Time Functions
| Createdate |
Dateformat |
Gettimezoneinfo |
| Createdatetime |
Datepart |
Hour |
| Createodbcdate |
Day |
Isdate |
| Createodbcdatetime |
Dayofweek |
Isleapyear |
| Createodbctime |
Dayofweekasstring |
Isnumericdate |
| Createtime |
Dayofyear |
Lsdateformat |
| Createtimespan |
Daysinmonth |
Lsisdate |
| Dateadd |
Daysinyear |
Lsparsedatetime |
| Datecompare |
Firstdayofmonth |
Lstimeformat |
| Dateconvert |
Gethttptimestring |
Minute |
| Datediff |
Gettickcount |
Month |
| Monthasstring |
Now |
Parsedatetime |
| Quarter |
Second |
Timeformat |
| Week |
Year |
|
(Judgment function) demo-functions
| Directoryexists |
Isdefined |
Issimplevalue |
| Fileexists |
Isk2serverabroker |
Isstruct |
| IIF |
Isk2serverdoccountexceeded |
Isuserinrole |
| Isarray |
Isk2serveronline |
Isvalid |
| Isbinary |
Isleapyear |
Iswddx |
| Isboolean |
Isnumeric |
Isxml |
| Iscustomfunction |
Isnumericdate |
Isxmlattribute |
| Isdate |
Isobject |
Isxmldoc |
| Isdebugmode |
Isquery |
Isxmlelem |
| Isxmlnode |
Isxmlroot |
Lsiscurrency |
| Lsisdate |
Lsisnumeric |
Structisempty |
| Structkeyexists |
Yesnoformat |
|
(Display and formatting functions) display and formatting Functions
| Cjustify |
Htmlcodeformat |
Lsisdate |
| Dateformat |
Htmleditformat |
Lsnumberformat |
| Decimalformat |
Ljustify |
Lsparsecurrency |
| Dollarformat |
Lscurrencyformat |
Lsparsedatetime |
| Formatbasen |
Lsdateformat |
Lsparseeurocurrency |
| Getlocale |
Lseurocurrencyformat |
Lsparsenumber |
| Getlocaledisplayname |
Lsiscurrency |
Lstimeformat |
| Numberformat |
Paragraphformat |
Rjustify |
| Stripcr |
Timeformat |
Yesnoformat |
(Expression assignment function) dynamic evaluation functions
| De |
Evaluate |
IIF |
Setvariable |
Extensibility Functions
| Createobject |
Releasecomobject |
Toscript |
| Getgatewayhelper |
Sendgatewaymessage |
|
(Full-text search function) full-text search functions
| Getk2serverdoccount |
Isk2serverabroker |
Isk2serveronline |
| Getk2serverdoccountlimit |
Isk2serverdoccountexceeded |
|
(International functions) international functions
| Dateconvert |
Gettimezoneinfo |
Lsisdate |
| Getencoding |
Lsiscurrency |
Lsparsedatetime |
| Gethttptimestring |
Lscurrencyformat |
Lsisnumeric |
| Getlocale |
Lsdateformat |
Lsnumberformat |
| Getlocaledisplayname |
Lseurocurrencyformat |
Lsparsecurrency |
| Lsparseeurocurrency |
Lsparsenumber |
Lstimeformat |
| Setencoding |
Setlocale |
|
(List function) List Functions
| Arraysort |
Findnocase |
Listcontainsnocase |
| Arraytolist |
Findoneof |
Listdeleteat |
| ASC |
Formatbasen |
Listfind |
| CHR |
Getclientvariableslist |
Listfindnocase |
| Cjustify |
Lcase |
Listfirst |
| Compare |
Left |
Listgetat |
| Comparenocase |
Len |
Listinsertat |
| Decrypt |
Listappend |
Listlast |
| Encrypt |
Listchangedelims |
Listlen |
| Find |
Listcontains |
Listprepend |
| Listqualify |
Listrest |
Listsetat |
| Listsort |
Listtoarray |
Listvaluecount |
| Listvaluecountnocase |
Replacelist |
(Mathematical function) mathematical functions
| ABS |
Bitnot |
Formatbasen |
| ACOs |
Bitor |
Incrementvalue |
| Arrayavg |
Bitshln |
Inputbasen |
| Arraysum |
Bitshrn |
Int |
| Asin |
Bitxor |
Log |
| ATN |
Ceiling |
Log10 |
| Bitand |
Cos |
Max |
| Bitmaskclear |
Decrementvalue |
Min |
| Bitmaskread |
Exp |
Pi |
| Bitmaskset |
Fix |
Rand |
| Randomize |
Randrange |
Round |
| SGN |
Sin |
Sqr |
| Tan |
|
|
(Other Functions) Other functions
| Createuuid |
Getbasetaglist |
Preservesinglequotes |
| Deleteclientvariable |
Getbasetemplatepath |
Urlsessionformat |
| Getbasetagdata |
Getclientvariableslist |
Writeoutput |
(Query processing function) query Functions
| Isquery |
Queryaddrow |
Querysetcell |
| Queryaddcolumn |
Querynew |
Quotedvaluelist |
| ValueList |
|
|
(Security Function) Security Functions
| Decrypt |
Getauthuser |
Gettempdirectory |
| Encrypt |
Generatesecretkey |
Hash |
| Isuserinrole |
|
|
(String processing function) string functions
| ASC |
Gettoken |
Lsparsedatetime |
| Binarydecode |
Hash |
Lsparseeurocurrency |
| Binaryencode |
Htmlcodeformat |
Lsparsenumber |
| Charsetdecode |
Htmleditformat |
Ltrim |
| Charsetencode |
Insert |
Mid |
| CHR |
Javacast |
Monthasstring |
| Cjustify |
Jsstringformat |
Paragraphformat |
| Compare |
Lcase |
Parsedatetime |
| Comparenocase |
Left |
Refind |
| Dayofweekasstring |
Len |
Refindnocase |
| Decrypt |
Ljustify |
Removechars |
| Encrypt |
Listvaluecount |
Repeatstring |
| Find |
Listvaluecountnocase |
Replace |
| Findnocase |
Lsisdate |
Replacenocase |
| Findoneof |
Lsisnumeric |
Rereplace |
| Formatbasen |
Lsparsecurrency |
Rereplacenocase |
| Generatesecretkey |
Lsiscurrency |
Replacelist |
| Reverse |
Right |
Rjustify |
| Rtrim |
Spanexcluding |
Spanincluding |
| Stripcr |
Tobase64 |
Tobinary |
| Tostring |
Trim |
Ucase |
| Urldecode |
Urlencodedformat |
Val |
| Wrap |
Xmlformat |
|
(Structure processing function) structure functions
| Duplicate |
Structcount |
Structget |
| Isstruct |
Structdelete |
Structinsert |
| Structappend |
Structfind |
Structisempty |
| Structclear |
Structfindkey |
Structkeyarray |
| Structcopy |
Structfindvalue |
Structkeyexists |
| Structkeylist |
Structnew |
Structsort |
| Structupdate |
|
|
(System function) system functions
| Directoryexists |
Getfilefrompath |
Gettempdirectory |
| Duplicate |
Getfunctionlist |
Gettempfile |
| Expandpath |
Gethttprequestdata |
Gettemplatepath |
| Fileexists |
Getlocale |
Gettickcount |
| Getbasetemplatepath |
Getlocaledisplayname |
Setencoding |
| Getcontextroot |
Getmetadata |
Setlocale |
| Getcurrenttemplatepath |
Getmetricdata |
Setprofilestring |
| Getdirectoryfrompath |
Getpagecontext |
Writeoutput |
| Getencoding |
Getprofilesections |
|
| Getexception |
Getprofilestring |
|
(XML language processing function) XML Functions
| Addsoaprequestheader |
Issoaprequest |
Isxmlroot |
| Addsoapresponseheader |
Isxml |
Iswddx |
| Getsoaprequest |
Isxmlattribute |
Tostring |
| Getsoaprequestheader |
Isxmldoc |
Xmlchildpos |
| Getsoapresponse |
Isxmlelem |
Xmlelemnew |
| Getsoapresponseheader |
Isxmlnode |
Xmlformat |
| Xmlgetnodetype |
Xmlnew |
Xmlparse |
| Xmlsearch |
Xmltransform |
Xmlvalidate |