[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8LowerCaseFast

Gets the lowercase value for the specified text. Optimized to improve speed for ASCII content in the argument.

Declaration

Source position: lazutf8.pas line 134

function UTF8LowerCaseFast(

  const AText: string

):string;

Arguments

AText

  

String with the content examined and converted to its lowercase representation.

Function result

Lowercase value for the specified text.

Description

UTF8LowerCaseFast 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 adding 32 to their ordinal values.

If a non-ASCII byte value is found in AText, the return value is derived by calling UTF8LowerCase with the value in AText as an argument.

Version info

Added in LazUtils version 4.0.

See also

UTF8LowerCase

  

Converts the specified string to lowercase using Unicode case mapping rules.

UTF8UpperCase

  

Converts the specified string to uppercase using Unicode case mapping rules.

UTF8UpperCaseFast

  

Gets the uppercase value for the specified text. Optimized to improve speed for ASCII content in the argument.


Version 4.0 Generated 2025-05-03 Home