|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > String > toString()
toString() - The toString Function
Usage: toString(value)
Description: Returns a string representation of the given value. This function performs exactly the same conversions as supported by the WMLScript language (automatic conversion from boolean, integer, and floating-point values to strings) except that invalid value returns the string "invalid".
Example:var a = String.toString(12); // a = "12"
var b = String.toString(true); // b = "true"
Bookmark this page
|
|