Is it possible to tell if a string has a certain letter?

Hello!

I was wondering if it is possible to detect if a string has a specific letter. For example, if part has the letter “a” then do something. My knowledge of strings is very bad, so please forgive me if this is something simple.

Thank you for your replies and have a wonderful day! :smiley:

1 Like
1 Like

string.match(string, “a”)

I think it returns a table idk??

2 Likes

It works! Thank you so much!

Have a great day! :smiley:

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.