Siebel eScript Language Reference > Siebel eScript Commands >

String Objects


One of the properties of the String object is its value, a sequence of text characters. Like other objects, the String object has other properties and methods.

Throughout this section, "string" is used to represent the value of an instance of the String object, that is, a sequence of characters. Typically, other properties of the String object are attributes that describe the string value, and methods of the String object manipulate the string value.

To indicate that a text literal is a string, it is enclosed in quotation marks. In the following example, the first statement puts the string "hello" into the variable word. The second sets the variable word to have the same value as the variable hello.

var word = "hello";
word = hello;

You can declare a string with single quotes instead of double quotes. There is no difference between the two in eScript.

See Also

Escape Sequences for Characters in Siebel eScript
String Object Methods and Properties in Siebel eScript

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.