函数名称:字符串截取
函数功能:按照规则截取字符串
函数方法
str = string.sub(s,i,j)
必填
选填
返回值
函数用例
s="just do it" str = string.sub(s,6,7) nLog("截取的内容:"..str)