|
|
WMLScript charAt() Function
Complete WMLScript String Library
The charAt() function returns the character at the specified index position.
Syntax
|
n = String.charAt(string, index)
|
| Part |
Description |
| n |
The string returned from the function |
| string |
A string |
| index |
A number that specifies the index position in the string |
Example
var a = String.charAt("world",2);
var b = String.charAt("world",0);
var c = String.charAt("world",10);
|
Result
Complete WMLScript String Library
The Creators of XMLSpy are Pleased to Announce
|
|
|