How do I check if a string contains a list of letters for example a b c d e ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I check if a string contains a list of letters for example a b c d e ?

I want to do a console.write line valid if a string contains a b c d e if not then it is invalid however what would I use to check that ?

1st Nov 2021, 12:21 AM
Super Saj
Super Saj - avatar
1 Answer
+ 4
IndexOfAny()
1st Nov 2021, 1:38 AM
Flash