in reply to Check if a variable contains only one letter?
I want to know if a variable containing a string of unknown number of characters consists exclusively of the indicated character.
Is that what you are looking for?
Does upper/lower case matter?
Do numerics count?
|
|---|