API Document Index



Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
 
contains(word)
add a contains fn to the string object
 
add a isBoolean fn to the string object
 
add isNumeric fn to the string object
 
convert the string to hex value
 
trim()
add trim fn to the string object
Method Detail
{Boolean} contains(word)
add a contains fn to the string object
Defined in: <build/melonJS-0.9.3.js>.
Parameters:
word
Returns:
{Boolean}

{Boolean} isBoolean()
add a isBoolean fn to the string object
Defined in: <build/melonJS-0.9.3.js>.
Returns:
{Boolean} true if the string is either true or false

{Boolean} isNumeric()
add isNumeric fn to the string object
Defined in: <build/melonJS-0.9.3.js>.
Returns:
{Boolean} true if string contains only digits

{String} toHex()
convert the string to hex value
Defined in: <build/melonJS-0.9.3.js>.
Returns:
{String}

{String} trim()
add trim fn to the string object
Defined in: <build/melonJS-0.9.3.js>.
Returns:
{String} trimmed string

Documentation generated by JsDoc Toolkit 2.4.0 on Tue May 01 2012 12:00:51 GMT+0800 (CST)