#Unable to find pairs of buttons containing the searched string in their name

20 messages · Page 1 of 1 (latest)

somber tree
#

whats the point of doing

if Buttons.Name == string.find(SearchText, SearchText) then
#

string.find is gonna return 1 and the length of the string

acoustic fog
#

Idk how it works exactly

#

m

hollow plume
#

should be doing if string.find(Buttons.Name, SearchText)

acoustic fog
#

Yea I never use dit

hollow plume
#

that will tell you if SearchText can be found within Buttons.Name

acoustic fog
#

Idk what "patern" meant before the string

#

Thanks for the tip

#

Like this?

#

Well when I tested and wrote something in the box it just made everything vanish

#

I typed A. the button which starts literally with A at the front also vanished (in the text)

#

@hollow plume

hollow plume
acoustic fog
#

oh my fault

#

like again idk what am doing here exactly since I am still learning

#

Alright it works perfectly now.

#

Thanks for the help. I should understand it now.

@hollow plume