Xbasic
ISLOWER Function
Syntax
Result_Flag as L = ISLOWER(C character)
Arguments
- character
A character string.
Description
Returns TRUE if the first character of a string is lowercase.
Discussion
ISLOWER() returns TRUE if the first character of the Character_String is lowercase; otherwise, it returns .F. (FALSE). This function is normally used to search fields where case-sensitivity has significant meaning. Use this function in conjunction with the SUBSTR()function to test the second and subsequent characters in a field.
Example
? islower("celtics") = .T. (TRUE) ' if FIRSTNAME contains "Shirley" ? islower(FIRSTNAME) = .F. (FALSE)
See Also