用法:
var a = "123456789"
var b = "4"
var c = 8
var d = i.slof(a, b, c)
//将提示:3
syso(d)
var a = "123456789"
var b = "4"
var c = i.slof(a, b)
//将提示:3
syso(c)
说明:
从后面向前面进行匹配。字符位置以0计算,若无数据找到将返回 -1
用法:
var a = "123456789"
var b = "4"
var c = 8
var d = i.slof(a, b, c)
//将提示:3
syso(d)
var a = "123456789"
var b = "4"
var c = i.slof(a, b)
//将提示:3
syso(c)
说明:
从后面向前面进行匹配。字符位置以0计算,若无数据找到将返回 -1