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

UTF8ProperCase

Capitalizes the first letter of each word in the string.

Declaration

Source position: lazutf8.pas line 131

function UTF8ProperCase(

  const AInStr: string;

  const WordDelims: TSysCharSet

):string;

Arguments

AInStr

  

Values to convert in the function.

WordDelims

  

Characters used as word delimiters.

Function result

Converting values for the string.

Description

UTF8ProperCase is a String function used to capitalize the first letter of each word in the specified string. WordDelims is set which contains the system characters used as word boundaries in the string.

UTF8ProperCase converts all of the values in AInStr to their lowercase equivalents, before converting letters following a word delimiter to uppercase.


Version 3.2 Generated 2024-02-25 Home