Function IsUpper() Foundation
Tests whether a character string begins with an upper case letter.
IsUpper( <cString> ) --> lUpperCase
When the first character in <cString> is an upper case letter, IsUpper() returns the value .T. (true), otherwise it returns .F. (false).
The character function IsUpper() tests whether the first character in a character string is upper case. It recognizes characters from "A" to "Z". If the first character is a digit, blank space, punctuation mark or other graphic character, IsUpper() returns the value .F. (false).
Language dependent special characters like , or identified as upper case letters when the appropriate collation table is selected.
The result depends on SET COLLATION and can be manipulated by LocaleConfigure() .
// The example shows various results of the function IsUpper().
PROCEDURE Main
? IsUpper("Xbase++") // result: .T.
? IsUpper(" ber") // result: .F.
? IsUpper("0.nothing") // result: .F.
? IsUpper("Zeropointnothing") // result: .T.
RETURN
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.