[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Gets the uppercase value for the specified text. Optimized to improve speed for ASCII content in the argument.
Source position: lazutf8.pas line 133
function UTF8UpperCaseFast( |
const AText: string |
):string; |
AText |
|
String with the content examined and converted to its uppercase representation. |
Uppercase value for the specified text.
UTF8UpperCaseFast examines the ordinal values for the characters in AText to determine how the return value is derived. It is optimized for ASCII content (byte values in the range 1..128). It converts individual characters in the range ['a'..'z'] by subtracting 32 from their ordinal values.
If a non-ASCII byte value is found in AText, the return value is derived by calling UTF8UpperCase with the value in AText as an argument.
Added in LazUtils version 4.0.
|
Converts the specified string to uppercase using Unicode case mapping rules. |
|
|
Gets the lowercase value for the specified text. Optimized to improve speed for ASCII content in the argument. |
Version 4.0 | Generated 2025-05-03 | Home |