Functions, Operators, Switch Cases and Truth Tables : Predefined Functions : String Functions

String Functions

The following table lists the string functions supported by Rational Statemate.

 
ASCII value of Ith character of S
Returns S of one character with ASCII value I
Converts I to decimal string; I can be negative
Extracts a string of length I2 from index I1 of S
Index of sub-string S2 within S1; 1 if not found
Note: The index of the left-most character in a string is 0.