Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible if I could detect if they is a character or word in a text box? (solved)

I know this isn't a request site and that this should be a question, but is it possible to detect if there is a character in a text box. Like the text box is labeled "words are fun", I want to see if the script can detect if "words" is in the text or maybe if i type "a b c" im looking for a and it will print if we find a

im sorry that this question isnt valid

1 comment

1

just a yes or no and explanation why please

1 answer

✓ Accepted answer

Just after a quick research, I found the answer!!!!!!

string.lower will help.

Example:

local str = "Roblox is a cool game"
str = str:lower()

if str:find("roblox") then
   print("found it in string")
end

output = found it in string

1 comment

0

Nice :)

This discussion is preserved as it was. New answers, comments, and votes are closed.