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

How do I check if a string includes a certain phrase?

2 answers

So you could do something like this for an if statement

local Matched = string.match("https://whatsgood.com/", "https?://")

if not Matched then
	return 
end

print("found")

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