01.12.2017, 07:30
Code:
str = 'abcd12345678901234567'
-- get length of a string
len = #str
-- get first 14 characters
a = string.sub(str, 1, 14)
-- get remaining characters
b = string.sub(str, 15)
Split a string into many string!
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Split a string into many string! - by phongvucba - 01.12.2017, 01:38
RE: Split a string into many string! - by admin - 01.12.2017, 07:30
RE: Split a string into many string! - by phongvucba - 01.12.2017, 16:18
RE: Split a string into many string! - by Erwin van der Zwart - 01.12.2017, 18:05
RE: Split a string into many string! - by phongvucba - 02.12.2017, 02:03
|