Siebel eScript Language Reference > Quick Reference: Methods and Properties >

String and Byte-Array Methods


The following is a list of string and byte-array methods.

Method
Function
stringVar.charAt()
Returns a character in a string
stringVar.charCodeAt()
Returns a unicode character in a string
String.fromCharCode()
Creates a string from character codes
stringVar.indexOf()
Returns the index of the first substring in a string
stringVar.lastIndexOf()
Returns the index of the last substring in a string
Clib.memchr()
Searches a byte array
Clib.memcmp()
Compares two byte arrays
Clib.memcpy()
Copies from one byte array to another
Clib.memmove()
Moves from one byte array to another
Clib.memset()
Copies from one byte array to another
Clib.rsprintf()
Returns a formatted string
stringVar.split()
Splits a string into an array of strings
Clib.sprintf()
Writes formatted output to a string
Clib.sscanf()
Reads and formats input from a string
Clib.strcat()
Concatenates strings
Clib.strchr()
Searches a string for a character
Clib.strcmp()
Makes a case-sensitive comparison of two strings
Clib.strcmpi()
Makes a case-insensitive comparison of two strings
Clib.strcpy()
Copies one string to another
Clib.strcspn()
Searches a string for the first character in a set of characters
Clib.stricmp()
Makes a case-insensitive comparison of two strings
Clib.strlen()
Gets the length of a string
Clib.strlwr()
Converts a string to lowercase
Clib.strncat()
Concatenates a portion of one string to another
Clib.strncmp()
Makes a case-sensitive comparison of parts of two strings
Clib.strncmpi()
Makes a case-insensitive comparison of parts of two strings
Clib.strncpy()
Copies a portion of one string to another
Clib.strnicmp()
Makes a case-insensitive comparison of parts of two strings
Clib.strpbrk()
Searches string for a character from a set of characters
Clib.strrchr()
Searches a string for the last occurrence of a character
Clib.strspn()
Searches a string for a character not in a set of characters
Clib.strstr()
Searches a string for a substring (case-sensitive)
Clib.strstri()
Searches a string for a substring (case-insensitive)
stringVar.substring()
Retrieves a section of a string
Clib.toascii()
Converts to ASCII
Clib.tolower()
Converts to lowercase
stringVar.toLowerCase()
Converts a string to lowercase
stringVar.toUpperCase()
Converts a string to uppercase


 Siebel eScript Language Reference 
 Published: 18 April 2003