Fixer90 Member Nov 19, 2017 #1 Is there a way to check the case of a letter (whether or not it's a capital letter), returning either true or false (or something similar)?
Is there a way to check the case of a letter (whether or not it's a capital letter), returning either true or false (or something similar)?
TheouAegis Member Nov 19, 2017 #2 if chr(letter) > 96 return true; Although that will also return true for some other things.... if chr(letter) > 96 and chr(letter) < 123 return true;
if chr(letter) > 96 return true; Although that will also return true for some other things.... if chr(letter) > 96 and chr(letter) < 123 return true;
obscene Member Nov 19, 2017 #3 Also you can lowercase strings and compare if you need to check more than one character... var lower=string_lower(string); if string==lower { stuff }
Also you can lowercase strings and compare if you need to check more than one character... var lower=string_lower(string); if string==lower { stuff }