Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel eScript Language Reference > Methods Reference > String Methods > Create String From Unicode Values MethodThe Create String From Unicode Values method converts Unicode values to a string. It uses Unicode values that you specify to determine the characters that are part of the string that it creates. The String name is a property of the String constructor, so you use with this method instead of the variable name that you use with an instance method. Siebel eScript assumes that the values in the arguments that it passes to this method are Unicode values. For more information, see Clib Convert Character to ASCII Method. FormatString.fromCharCode(code1, code2, ... coden) Table 37 describes the arguments for the Create String From Unicode Values method.
Example 1The following example sets the string1 variable to AB: var string1 = String.fromCharCode(0x0041,0x0042); Example 2The following example uses the decimal Unicode values of the characters to create a string: var seblStr = String.fromCharCode(83, 105, 101, 98, 101, 108); This example provides a string that contains the following characters: For another example, see Write Byte to Buffer Method. |
![]() |
![]() ![]() |
Siebel eScript Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |