Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel eScript Language Reference > Methods Reference > String Methods > Get Character From String MethodThe Get Character From String method returns the character that resides at a specific location in a string. The length of this character is 1. To get the first character in a string, you use position 0. For example: var string1 = "a string"; To get the last character in a string, you use length minus 1. For example: var lastchar = string1.charAt(string1.length - 1); If the value in the position argument is not between 0 and the value of stringVar.length minus 1, then this method returns an empty string. FormatTable 38 describes the arguments for the Get Character From String method. |
![]() ![]() |
Siebel eScript Language Reference | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |