64x64base

Function Catalog

Source-derived DotTalk++ expression function catalog.

This page is generated from D:\code\ccode\src\cli\expr\function_catalog.cpp, which is the current source-side documentation catalog for expression functions.

The student extension function examples live separately in D:\code\ccode\src\ext\fn\fn_student_text_autoreg.cpp; they demonstrate how learners can add self-registering functions without changing the core catalog.

Source extraction snapshot: 63 documented expression functions.

Source-Derived Functions

FunctionAliasesCategoryArgsSummary
UPPERString1Convert text to uppercase.
LOWERString1Convert text to lowercase.
ALLTRIMString1Trim leading and trailing spaces from a string value.
LTRIMString1Trim leading spaces from a string value.
RTRIMTRIMString1Trim trailing spaces from a string value.
LEFTString2Return the leftmost characters of a string.
RIGHTString2Return the rightmost characters of a string.
SUBSTRString2-3Return a substring starting at a 1-based position.
LENNumeric1Return the length of a string value.
SOUNDEXSearch1Return a four-character phonetic Soundex code for a character expression.
ATSearch2-3Return the 1-based position of a substring occurrence.
ATCSearch2-3Return the 1-based position of a substring occurrence, case-insensitive.
LIKELogical2Match a value against a wildcard pattern.
STRConversion1-3Convert a numeric value to a formatted string.
VALConversion1Extract the leading numeric portion of a string.
CONCATSTRCATConstruction1-32Concatenate all arguments into a single string.
ASCString1Return the character code of the first character in a string.
CHRString1Return the single-character string for a numeric character code.
CHRTRANString3Replace characters in a string by position-mapped translation.
EMPTYLogical1Return whether a value is empty according to expression-engine rules.
RATSearch2Return the 1-based position of the last occurrence of a substring.
REPLICATEConstruction2Repeat a string value a specified number of times.
SPACEConstruction1Return a string containing the requested number of spaces.
STRTRANString3Replace occurrences of a substring within a string.
TRANSFORMConversion1-2Convert a value to display-oriented character form.
DATEDate0Return the current system date.
TODAYDate0Return the current system date.
NOWDate0Return the current date/time value.
DATETIMEDate0Return the current date/time value.
TIMEDate0Return the current system time.
SECONDSDate0Return the current time expressed as seconds-of-day or equivalent engine-specific seconds value.
CTODDate1Convert a character string to a date value.
DTOCDate1-2Convert a date value to character form.
DTOSDate1Convert a date value to sortable character form.
DAYDate1Return the day-of-month component of a date.
MONTHDate1Return the month component of a date.
YEARDate1Return the year component of a date.
DOWDate1Return the day-of-week number for a date.
CDOWDate1Return the day-of-week name for a date.
CMONTHDate1Return the month name for a date.
DATEADDDate2Return a new date shifted by a specified interval.
DATEDIFFDate2Return the difference between two date values.
GOMONTHDate2Return a date shifted by a specified number of months.
ABSNumeric1Return the absolute value of a numeric expression.
INTNumeric1Return the integer portion of a numeric value.
ROUNDNumeric1-2Round a numeric value to a specified number of decimal places.
MINNumeric2-32Return the smallest value from two or more numeric expressions.
MAXNumeric2-32Return the largest value from two or more numeric expressions.
MODNumeric2Return the remainder from dividing one numeric value by another.
SQRTNumeric1Return the square root of a numeric value.
LOGNumeric1Return the natural logarithm of a numeric value.
LOG10Numeric1Return the base-10 logarithm of a numeric value.
EXPNumeric1Return e raised to the power of the supplied numeric value.
SINNumeric1Return the sine of an angle expressed in radians.
COSNumeric1Return the cosine of an angle expressed in radians.
TANNumeric1Return the tangent of an angle expressed in radians.
ASINNumeric1Return the arc-sine of a numeric value.
ACOSNumeric1Return the arc-cosine of a numeric value.
ATANNumeric1Return the arc-tangent of a numeric value.
CEILINGNumeric1Return the smallest integer greater than or equal to the numeric value.
FLOORNumeric1Return the largest integer less than or equal to the numeric value.
BETWEENNumeric3Return whether a numeric value lies within an inclusive lower and upper bound.
RANDNumeric0Return a pseudo-random numeric value.