User Guide
String 627
Constructor summary
Method summary
Signature Description
String(value:String) Creates a new String object.
Modifiers Signature Description
charAt(index:Number) : String Returns the character in the position
specified by the parameter index.
charCodeAt(index:Number) : Number Returns a 16-bit integer from 0 to
65535 that represents the
character specified by index.
concat(value:Object) : String Combines the value of the String
object with the parameters and
returns the newly formed string; the
original value, my_str, is
unchanged.
static fromCharCode() : String Returns a string comprising the
characters represented by the
Unicode values in the parameters.
indexOf(value:String,
[startIndex:Number]) : Number
Searches the string and returns the
position of the first occurrence of
value found at or after startIndex
within the calling string.
lastIndexOf(value:String,
[startIndex:Number]) : Number
Searches the string from right to left
and returns the index of the last
occurrence of value found before
startIndex within the calling string.
slice(start:Number, end:Number) :
String
Returns a string that includes the
start character and all characters
up to, but not including, the end
character.
split(delimiter:String,
[limit:Number]) : Array
Splits a String object into substrings
by breaking it wherever the
specified delimiter parameter
occurs and returns the substrings in
an array.