用法:
var a = "123456789"
var b = "456"
var c = "."
var d = i.sr(a, b, c)
//将提示:123.789
syso(d)
//支持正则表达式
//var d = i.sr(a, b, c, true)
说明:
用于替换字符
用法:
var a = "123456789"
var b = "456"
var c = "."
var d = i.sr(a, b, c)
//将提示:123.789
syso(d)
//支持正则表达式
//var d = i.sr(a, b, c, true)
说明:
用于替换字符