-
Notifications
You must be signed in to change notification settings - Fork 1
string
Tim.Leon edited this page Aug 14, 2013
·
3 revisions
Namespace string
String Processing
Defined in: lison.js.
##Method Summary
###replace
<static>
string.replace (a, find, b)
Replace string
####Parameters:
-
{String} a text
-
{String} find RegExp string
-
{String} b text
####Returns:
- {String} x value
####Example:
["replace", "Hello Lison", "Li", "J"]
>> Hello Json
###substr
<static>
string.substr (string, form, length)
Get Substring
####Parameters:
-
{String} string text
-
{Number} form
-
{Number} length
####Returns:
- {String} x value
####Example:
["substr", "Hello Lison", 1, 2]
>> el
Documentation generated by JsDoc Toolkit 2.0.1 on Wed Aug 14 2013 19:06:40 GMT+0800 (CST), Use the JsDoc-Markdown Template.
Author: pkuleon