Array Methods and Properties in Siebel Escript: Method or Property Purpose
Array Methods and Properties in Siebel Escript: Method or Property Purpose
Array pop() Method Returns the last element of an array, then removes that element from the array
getString() Method Returns a string starting from the current cursor position
unicode Property Stores a Boolean flag that specifies whether to use Unicode strings when calling
getString() and putString()
Method Purpose
Clib.isalnum() Method Tests for an alphanumeric character
Method Purpose
Method Purpose
Method Purpose
toLocaleString() Method and Returns a string representing the date and time of a Date object based
toString() Method on the time zone of the computer running the script
Method Purpose
Clib.chdir() Method Changes directory
Backslashes (\) can be interpreted as escape characters. When forming Windows path names, double each
backslash to prevent this interpretation. For example, to change the working directory to
C:\Applications\Myfolder, use the following command:
Clib.chdir("C:\\Applications\\Myfolder");
Similarly, when using UNC paths to access a computer on your network, use four backslashes (\\\\) before
the computer name.
Clib.system("copy \\\\server01\\share\\SR.txt D:\\SR.txt ");
Method Purpose
Method Purpose
Clib.fgetc() Method and Clib.getc() Method Gets a character from a file stream
Clib.fgetpos() Method Gets the current file cursor position in a file stream
Clib.fseek() Method Sets the file cursor position in an open file stream
Method Purpose
Clib.clearerr() Method Clears end-of-file and error status of a file
throw Statement Makes sure that script execution halts when an error occurs
2.Trigonometric methods
3.Mathematical properties
Method Purpose
Clib.div() Method and Clib.ldiv() Performs integer division and returns an object with the quotient and
Method remainder
Clib.frexp() Method Breaks a real number into a mantissa and an exponent as a power of
2
Math.floor() Method Rounds a real number down to the next lowest integer
Method Purpose
Method Purpose
Clib.memcpy() Method and Copies or moves from one byte array to another
Clib.memmove() Method
Clib.strcspn() Method Searches a string for the first character in a set of characters
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.
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
SElib.dynamicLink() Method Calls a procedure from a dynamic link library (Windows) or shared object
(UNIX