of     1   

CRICKET69
#228117723Sunday, November 26, 2017 11:16 PM GMT

Is there a way to detect whether there are symbols/anything other than actual letters in a textbox?
TaaRt
#228118261Sunday, November 26, 2017 11:25 PM GMT

string.gsub("somet23^7hing","%A","") -- returns only the letters string.find("somet23^7hing","%A") -- not nil if there are any non-letters
guagiguagua
#228118300Sunday, November 26, 2017 11:26 PM GMT

yeah, string .match and your symbols being the string pattern %b x y
CRICKET69
#228118577Sunday, November 26, 2017 11:31 PM GMT

How exactly would you use gsub into a if statement?
CRICKET69
#228119629Sunday, November 26, 2017 11:50 PM GMT

bump
cabbler
#228121865Monday, November 27, 2017 12:21 AM GMT

local isSymbol = str:match("[%s%w%p]") == nil but I might make a function with string.byte

    of     1