[Overview][Types][Classes][Procedures and functions][Index] |
Convert a character or string to uppercase
Source position: character.pas line 142
public class function TCharacter.ToUpper( |
AChar: UnicodeChar |
):UnicodeChar; overload; |
const AString: UnicodeString |
):UnicodeString; overload; |
const AString: UnicodeString; |
const AOptions: TCharacterOptions |
):UnicodeString; overload; |
AChar |
|
UTF16 Character |
The uppercase version of the character or string
AString |
|
String containing UTF-16 encoded characters |
AString |
|
String containing UTF-16 encoded characters |
AOptions |
|
Options controlling the behaviour of the conversion |
ToUpper converts the unicode character AChar or string AString to uppercase. Options determines the behaviour of the conversion: if AOptions contains coIgnoreInvalidSequence then no exception will be raised when the string or character contains an invalid unicode sequence. The default behaviour is to raise an EArgumentException exception when this happens.
If an invalid character is encountered, an EArgumentException exception is raised, unless coIgnoreInvalidSequence is specified in the options.
|
Convert a character or string to uppercase |
|
|
Check if a unicode character is a lowercase letter |
|
|
Check whether a unicode character is an uppercase letter |