Overview of String Methods

The value property of a string object describes a sequence of text characters. In this topic, the term string represents the value of an instance of the string object. Other properties of the string object describe the string value and methods of the string object that manipulate the string value.

To indicate that a text literal is a string, you enclose it with quotation marks. In the following example, the first statement places the hello string in the word variable. The second statement sets the word variable to have the same value as the hello variable:

var word = "hello";
word = hello;

To declare a string you can use single quotes instead of double quotes. No difference exists between these quotes in Siebel eScript.

This topic uses the following formats:

  • stringVar. Indicates a string variable. To use a property or to call a method, a specific instance of a variable must precede the period.

  • String name. Indicates a static method of the string object. It does not apply to a specific instance of the string object.