|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > String > isEmpty()
isEmpty() - The isEmpty Function
Usage: isEmpty(string)
Description: Returns a boolean true if the string length is zero and boolean false otherwise.
Example:var a = "Hello";
var b = "";
var c = String.isEmpty(a); // c = false
var d = String.isEmpty(b); // d = true
var e = String.isEmpty(true); // e = false
Bookmark this page
|
|