Functions

Functions exposed in the Mobile Channels scripting environment are described in the following table.

Function Description
Now Returns the current date and time.
LocDate Using the current regional settings, formats and returns the date.
Len Returns the length of a string.
Mid Returns a substring of an existing string.
Split Parses a string into substrings based on a specified delimiter.
Asc Converts a character string into its numeric ASCII value and returns an numeric expression.
Chr Converts an ASCII numeric value to the associated character.
StrComp Compares two strings, string 1 and string 2, optionally specifying the comparison mode, compare.
Random Generates a random number in the range from 0 through -1.

This section covers the following topics: