User:Phineas: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Sup | Sup | ||
<syntaxhighlight lang="lua"> | |||
function checkG(str) | |||
if (string.find(string.lower(str), "gapy")) then | |||
return "Yes, Gaypee is present in the string!" | |||
else | |||
return "Nope, I can't find Gaypee in the string!" | |||
end | |||
return false | |||
end | |||
</syntaxhighlight> | |||
Gapy = Gaypee | Gapy = Gaypee | ||
Revision as of 15:50, 18 March 2013
Sup
function checkG(str)
if (string.find(string.lower(str), "gapy")) then
return "Yes, Gaypee is present in the string!"
else
return "Nope, I can't find Gaypee in the string!"
end
return false
end
Gapy = Gaypee