Siebel eScript Language Reference > Quick Reference: Methods and Properties in Siebel eScript >
Table 27 provides a list of string and byte-array methods.
Clib.memchr() Method
Searches a byte array
Clib.memcmp() Method
Compares two byte arrays
Clib.memcpy() Method and Clib.memmove() Method
Copies or moves from one byte array to another
Clib.memset() Method
Copies from one byte array to another
Clib.rsprintf() Method
Returns a formatted string
Clib.sprintf() Method
Writes formatted output to a string
Clib.sscanf() Method
Reads and formats input from a string
Clib.strchr() Method
Searches a string for a character
Clib.strcspn() Method
Searches a string for the first character in a set of characters
Clib.stricmp() Method and Clib.strcmpi() Method
Makes a case-sensitive comparison of two strings
Clib.strlwr() Method
Converts a string to lowercase
Clib.strncat() Method
Concatenates a portion of one string to another
Clib.strncmp() Method
Makes a case-sensitive comparison of parts of two strings
Clib.strncmpi() Method and Clib.strnicmp() Method
Makes a case-insensitive comparison of parts of two strings
Clib.strncpy() Method
Copies a portion of one string to another
Clib.strpbrk() Method
Searches string for a character from a set of characters
Clib.strrchr() Method
Searches a string for the last occurrence of a character
Clib.strspn() Method
Searches a string for a character not in a set of characters
Clib.strstr() Method
Searches a string for a substring (case sensitive)
Clib.strstri() Method
Searches a string for a substring (case insensitive)
String charAt() Method
Returns the character at a specified location in a string
String indexOf() Method
Returns the index of the first instance of a specified substring in a string
String lastIndexOf() Method
Returns the index of the last instance of a specified substring in a string
String match() Method
Returns an array of strings that are matches within the string against a target regular expression.
String search () Method
Searches a string for a regular expression pattern. If the pattern exists, this method returns the index of the regular expression.
RegExp compile() Method
Changes the pattern and attributes to use with the current instance of a RegExp object.
RegExp exec() Method
Returns an array of strings that are matches of the regular expression on the target string.
RegExp test() Method
Indicates whether a target string contains a regular expression pattern.
String split() Method
Parses a string and returns an array of strings based on a specified separator
String.fromCharCode() Static Method
Returns the character associated with a specified character code
substring() Method
Retrieves a section of a string
toLowerCase() Method
toUpperCase() Method
Converts a string to uppercase