Xbasic
ISUPPER Function
Syntax
Result_Flag as L = ISUPPER(C character)
Arguments
- character
A character string.
Description
Returns TRUE if the first character of a string is uppercase.
Discussion
ISUPPER() returns .T. (TRUE) if the first character of the Character_String is uppercase; otherwise, it returns .F. (FALSE). This function is normally used to search fields where case-sensitivity has significant meaning.
Example
? isupper("Celtics") = .T. ' if FIRSTNAME contains "Shirley" ? isupper(FIRSTNAME) = .T.
See Also