Charat (String.charat Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Modifiers
Signature
split(delimiter:Stri
ng, [limit:Number])
: Array
substr(start:Number,
length:Number) :
String
substring(start:Numb
er, end:Number) :
String
toLowerCase() :
String
toString() : String
toUpperCase() :
String
valueOf() : String
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

charAt (String.charAt method)

public charAt(index:Number) : String
Returns the character in the position specified by the parameter
number from 0 to
string.length
This method is similar to
not a 16-bit integer character code.
Availability: ActionScript 1.0; Flash Player 5
Parameters
- An integer specifying the position of a character in the string. The first
index:Number
character is indicated by
1128
ActionScript classes
Description
Splits a String object into substrings by breaking it
wherever the specified delimiter parameter occurs
and returns the substrings in an array.
Returns the characters in a string from the index
specified in the start parameter through the number
of characters specified in the length parameter.
Returns a string comprising the characters between
the points specified by the start and end parameters.
Returns a copy of the String object, with all
uppercase characters converted to lowercase.
Returns an object's properties as strings regardless of
whether the properties are strings.
Returns a copy of the String object, with all lowercase
characters converted to uppercase.
Returns the primitive value of a String instance.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
- 1, an empty string is returned.
String.charCodeAt()
, and the last character is indicated by
0
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
index
except that the returned value is a character,
my_str.length-1
valueOf
. If
is not a
index
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF