03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Method summary<br />

Modifiers Signature Description<br />

1146 <strong>ActionScript</strong> classes<br />

charAt(index:Number)<br />

: String<br />

charCodeAt(index:Num<br />

ber) : Number<br />

concat(value:Object)<br />

: String<br />

static fromCharCode() :<br />

String<br />

indexOf(value:String<br />

,<br />

[startIndex:Number])<br />

: Number<br />

lastIndexOf(value:St<br />

ring,<br />

[startIndex:Number])<br />

: Number<br />

slice(start:Number,<br />

end:Number) : String<br />

split(delimiter:Stri<br />

ng, [limit:Number])<br />

: Array<br />

substr(start:Number,<br />

length:Number) :<br />

String<br />

substring(start:Numb<br />

er, end:Number) :<br />

String<br />

toLowerCase() :<br />

String<br />

Returns the character in the position specified by<br />

the parameter index.<br />

Returns a 16-bit integer from 0 to 65535 that<br />

represents the character specified by index.<br />

Combines the value of the String object with the<br />

parameters <strong>and</strong> returns the newly formed string;<br />

the original value, my_str, is unchanged.<br />

Returns a string comprising the characters<br />

represented by the Unicode values in the<br />

parameters.<br />

Searches the string <strong>and</strong> returns the position of the<br />

first occurrence of value found at or after<br />

startIndex within the calling string.<br />

Searches the string from right to left <strong>and</strong> returns<br />

the index of the last occurrence of value found<br />

before startIndex within the calling string.<br />

Returns a string that includes the start character<br />

<strong>and</strong> all characters up to, but not including, the end<br />

character.<br />

Splits a String object into substrings by breaking it<br />

wherever the specified delimiter parameter<br />

occurs <strong>and</strong> returns the substrings in an array.<br />

Returns the characters in a string from the index<br />

specified in the start parameter through the<br />

number of characters specified in the length<br />

parameter.<br />

Returns a string comprising the characters<br />

between the points specified by the start <strong>and</strong> end<br />

parameters.<br />

Returns a copy of this string, with all uppercase<br />

characters converted to lowercase.<br />

toString() : String Returns an object's properties as strings<br />

regardless of whether the properties are strings.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!