Instance Methodswift 6.0.1Swift

    lowercased

    Returns a lowercased version of this character.

    func lowercased() -> String

    Because case conversion can result in multiple characters, the result of lowercased() is a string.

    let chars: [Character] = ["E", "É", "И", "Π", "1"]
    for ch in chars {
        print(ch, "-->", ch.lowercased())
    }
    // Prints:
    // E --> e
    // É --> é
    // И --> и
    // Π --> π
    // 1 --> 1

    Other members in extension

    Typealiases

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces