1128
ActionScript classes
Methods inherited from class Object
charAt (String.charAt method)
public charAt(index:Number) : String
Returns the character in the position specified by the parameter
index
. If
index
is not a
number from 0 to
string.length
- 1, an empty string is returned.
This method is similar to
String.charCodeAt()
except that the returned value is a character,
not a 16-bit integer character code.
Availability:
ActionScript 1.0; Flash Player 5
Parameters
index
:Number
- An integer specifying the position of a character in the string. The first
character is indicated by
0
, and the last character is indicated by
my_str.length-1
.
split
(delimiter:Stri
ng, [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.
substr
(start:Number,
length:Number) :
String
Returns the characters in a string from the index
specified in the
start
parameter through the number
of characters specified in the
length
parameter.
substring
(start:Numb
er, end:Number) :
String
Returns a string comprising the characters between
the points specified by the
start
and
end
parameters.
toLowerCase
() :
String
Returns a copy of the
String
object, with all
uppercase characters converted to lowercase.
toString
() : String
Returns an object's properties as strings regardless of
whether the properties are strings.
toUpperCase
() :
String
Returns a copy of the String object, with all lowercase
characters converted to uppercase.
valueOf
() : String
Returns the primitive value of a String instance.
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Modifiers
Signature
Description
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...