Unicode.utf8Strdown

Converts all Unicode characters in the string that have a case to lowercase. The exact manner that this is done depends on the current locale, and may result in the number of characters in the string changing.

struct Unicode
static
string
utf8Strdown
(
string str
,
ptrdiff_t len
)

Parameters

str string

a UTF-8 encoded string

len ptrdiff_t

length of @str, in bytes, or -1 if @str is nul-terminated.

Return Value

Type: string

a newly allocated string, with all characters converted to lowercase.

Meta