WMLScript toString() Function

The toString() function converts a value to a string.

Syntax

n = String.toString(value)
Component Description
n String returned from the function.
value Any value.

Example

var a = String.toString(66);
var b = String.toString(world);

Result

a = "66"
b = "world"