15.11.2016, 16:13
(This post was last modified: 15.11.2016, 16:14 by gjniewenhuijse.)
yes i have data, for example:
[fixTime]
* string: 2016-11-15T16:04:04.000+0000
But i think the problem is the general loaded string.split function:
[fixTime]
* string: 2016-11-15T16:04:04.000+0000
But i think the problem is the general loaded string.split function:
Code:
-- split a string into a table
function string:split( inSplitPattern, outResults )
if not outResults then
outResults = { }
end
local theStart = 1
local theSplitStart, theSplitEnd = string.find( self, inSplitPattern, theStart )
while theSplitStart do
table.insert( outResults, string.sub( self, theStart, theSplitStart-1 ) )
theStart = theSplitEnd + 1
theSplitStart, theSplitEnd = string.find( self, inSplitPattern, theStart )
end
table.insert( outResults, string.sub( self, theStart ) )
return outResults
end