I was experimenting by using string.gsub in my code followed by other successive string.gsubs ( the g.sub is dependent on previous g.sub working) and it seems that the first g.sub is heavily delayed when testing on an android devices causing it to mis-act. Otherwise it works well on the corona simulator. Is there anything that can be done? Also when would you used “a” vs [“a”] for example.
Here’s where I see it taking a long time to complete. Even if the user only enters “+” by itself in the textfield [lua] input1.text = string.gsub(input1.text, “[%+]”, “t”)[/lua]