toFold

Converts an Utf8 String to Folding case Folding case is used for case insensitive comparsions.

  1. char[] toFold(const(char)[] input, char[] output)
    char[]
    toFold
    (
    const(char)[] input
    ,
    char[] output = null
    )
  2. wchar[] toFold(const(wchar)[] input, wchar[] output)
  3. dchar[] toFold(const(dchar)[] input, dchar[] output)

Parameters

input const(char)[]

String to be case mapped

output char[]

this output buffer will be used unless too small

Return Value

Type: char[]

the case mapped string

Meta