From http://www.w3schools.com (Copyright Refsnes Data)

WMLScript charAt() Function


WMLScript String Library 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

a = "r"
b = "w"
c = ""


WMLScript String Library Complete WMLScript String Library

From http://www.w3schools.com (Copyright Refsnes Data)