Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > String Objects > substring() MethodThis method retrieves a section of a string. SyntaxstringVar.substring(start[, end])
ReturnsA new string, of length end - start, containing the characters that appeared in the positions from start to end - 1 of stringVar. UsageThis method returns a portion of stringVar, comprising the characters in stringVar at the positions start through end - 1. The character at the end position is not included in the returned string. If the end parameter is not used, stringVar.substring() returns the characters from start to the end of stringVar. ExampleFor an example, read indexOf() Method. See Also |
Siebel eScript Language Reference |