How to detect if a letter is lowercase in string?
BlitzMax Forums/BlitzMax Programming/How to detect if a letter is lowercase in string?
| ||
as the topic asks how would you go about determining if a letter in a string is uppercase or lowercase? |
| ||
never mind... I was doing things all wrong with the asc("") command :P |
| ||
b$=mid$(a$,10,1) if b$=upper(b$) then print "Uppercase" else print "Lowercase" (Very basic, doesn't check for non-alphabet characters) |