09.01.2016, 00:13
Is there a way that I can detect if there is not a specific character in a string?
I've only found tutorials that explains how to find a character in a string, such as:
But what I need is to find if the player did not insert the character. For example a dot "." How can I check if there are no dots in the string?
I've only found tutorials that explains how to find a character in a string, such as:
PHP код:
if(strfind(inputtext, " ") != -1) // Finds a blank space