How to check whether a string is all "upper case"
< Continued from page 3
The IsUpperCase returns true if the string accepted as a paramter is all upper case.
~~~~~~~~~~~~~~~~~~~~~~~~~
function IsUpperCase(Value: string): Boolean;
begin
Result := Value = UpperCase(Value) ;
end;
~~~~~~~~~~~~~~~~~~~~~~~~~
Delphi tips navigator:
» Display standard Windows Properties dialog
« How to complete partial strings typed into a combo box
The IsUpperCase returns true if the string accepted as a paramter is all upper case.
~~~~~~~~~~~~~~~~~~~~~~~~~
function IsUpperCase(Value: string): Boolean;
begin
Result := Value = UpperCase(Value) ;
end;
~~~~~~~~~~~~~~~~~~~~~~~~~
Delphi tips navigator:
» Display standard Windows Properties dialog
« How to complete partial strings typed into a combo box
Source...