|
string_lower(str) |
|
str = the string that you want to convert
Example #1:
string_lower() will convert any text that is passed to it into lowercase, the above example will change "Hello World" into "hello world". This is good if you're checking what the player has typed in as "Hello World" is not the same as "hello world", this would mean you would have to check every permutation of 'hello world':
It would be far simpler to change it into lower case and just check that:
Revision #1 |