User Guide : Using Content Extraction Language : Language Elements : Keywords
 
Share this page             
Keywords
The following table provides the keyword references.
Pattern Related (case sensitive)
BEGIN, END, CATCHUP
Control Statement Related
accept, if, else, for, break, reject, while, abort, end, fix, in, clearvars, catchup on, catchup off
Built-in Variable Related
(case sensitive)
EBCDIC, ENCODING, IFS, ILS, NR, NF, REGPOS, REGLEN, TABS
Build-in Function Related
asc, chartoitself, chartonull, chartospace, chr, fix, gsub, initcaps, inputbox, int, isnumeric, length, logmessage, lcase, ltrim, left, lookup, messagebox, namepart, readahead, return, right, rtrim, sgn, shift, skip, space, split, string, strreplace, sub, substr, trace, transliterate, trim, ucase, val and a lot of others. (See “Setting the Scope of Functions” in the Map Designer User’s Guide. The majority of the Map Designer functions are also built into CXL.)
User Defined Function Related
(case sensitive)
function
CXL control statement verbs and built-in functions are recognized regardless of their case. For more information on control statement verbs, see Language Syntax and Examples.
Example 1: GSub("Mon", "Monday", $0) will have the same effect as gsub("Mon", "Monday", $0).
Variable names, regular expressions, built-in variable names, pattern-related keywords, and user defined function names are all case sensitive.
Example 2: The variable named "Account" does not share the value assigned to the variable "account".
Example 3: The regular expression /hello/ will not match the string "Hello".