Posted 19 April 2013 - 09:12 AM
Hi,
Using string.find on the result of string.sub will return the index of the original string, not the string you passed in. However, if you concatenate the result from sub with "" then it will work. After spending 3 hours trying to debug my code I would have very much appreciated this, albeit hacky, fix implemented.
Thanks, Tats
Using string.find on the result of string.sub will return the index of the original string, not the string you passed in. However, if you concatenate the result from sub with "" then it will work. After spending 3 hours trying to debug my code I would have very much appreciated this, albeit hacky, fix implemented.
Thanks, Tats