islower_return_lower_case_character_.htm
Navigation: Language Reference > 13 - Built-in Functions >====== ISLOWER (return lower case character) ====== | |
ISLOWER( string )
ISLOWER | Returns whether the string passed to it contains a lower case alphabetic character. |
string | The label of the string to test. If the string contains more than one character, only the first character is tested. |
The ISLOWER procedure returns TRUE if the string passed to it is a lower case letter and false otherwise. This is independent of the language and collation sequence. This procedure requires that CLACASE has been set in the application's environment file or through the LOCALE statement.
Return Data Type: | LONG |
Example:
SomeString STRING(1)
CODE
SomeString = 'a' !ISLOWER returns true
IF ISLOWER(SomeString)
X#= MESSAGE('Lower case string')
END
SomeString = 'A' !ISLOWER returns false
IF ISLOWER(SomeString)
X#= MESSAGE('Lower case string')
ELSE
X#= MESSAGE('Not lower case string')
END
See Also:
islower_return_lower_case_character_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1