Blockland Forums > Modification Help
[SOLVED] Using strLen, and strStr in a function
FFSO:
Yes greek you are correct, that is exactly what I was trying to do. It worked too.
ENDING CODE:
--- Code: ---function stringHasLetter(%string, %letter)
{
if(%string $= "" || %letter $= "")
return false;
echo(strStr(%string, %letter));
return (strPos(%string,%letter) >= 0);
}
--- End code ---