System.SysUtils.TStringHelper.UpperCase
Delphi
class function UpperCase(const S: string): string; overload; static; inline;
class function UpperCase(const S: string; LocaleOptions: TLocaleOptions): string; overload; static; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TStringHelper |
Description
Converts an ASCII string to uppercase.
UpperCase returns a string with the same text as the string passed in S
, but with all letters converted to uppercase. The conversion affects only 7-bit ASCII characters between 'a' and 'z'. To convert 8-bit international characters, use ToUpper.
The LocaleOptions
parameter of the second UpperCase overloaded method is of type TLocaleOptions and defines a choice of dependent and independent locale options. For more information, please refer to the TLocaleOptions topic.