This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to integrate a geolocalisation and LM?
#11
(15.11.2016, 16:13)gjniewenhuijse Wrote: 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:
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

What are the symptoms of problem? This function should work especially stringConfusedplit(it produce the table of a few data which before was in one string separated via separator).
Reply


Messages In This Thread
RE: How to integrate a geolocalisation and LM? - by buuuudzik - 15.11.2016, 16:26

Forum Jump: