lua_pushlstring (L,s+I,j-i+1) 把一个字符串区间为[I,j]传递给lua. 下面函数将一个字符串以分隔符生成一个表例如调用split(“he,3,66,22”) 会返回table {“he”,”3”,”66” ...
確定! 回上一頁