# ``Swift/Character`` ## Topics ### Creating a Character In addition to creating a character from a single-character string literal, you can also convert a unicode scalar value or single-character string. - ``Swift/Character/init(_:)-6o1aq`` ### Writing to a Text Stream - ``Swift/Character/write(to:)`` ### Comparing Characters - ``Swift/Character/==(_:_:)`` - ``Swift/Character/!=(_:_:)`` - ``Swift/Character/<=(_:_:)`` - ``Swift/Character/<=(_:_:)-1ihf`` - ``Swift/Character/>(_:_:)-24u5o`` - ``Swift/Character/>=(_:_:)-8lyhz`` ### Working with a Character’s Unicode Values - ``Swift/Character/init(_:)-8hq6x`` - ``Swift/Character/unicodeScalars`` - ``Swift/Character/UnicodeScalarView`` - ``Swift/Character/isASCII`` - ``Swift/Character/asciiValue`` ### Inspecting a Character - ``Swift/Character/isLetter`` - ``Swift/Character/isPunctuation`` - ``Swift/Character/isNewline`` - ``Swift/Character/isWhitespace`` - ``Swift/Character/isSymbol`` - ``Swift/Character/isMathSymbol`` - ``Swift/Character/isCurrencySymbol`` ### Checking a Character’s Case - ``Swift/Character/isCased`` - ``Swift/Character/isUppercase`` - ``Swift/Character/uppercased()`` - ``Swift/Character/isLowercase`` - ``Swift/Character/lowercased()`` ### Checking a Character’s Numeric Properties - ``Swift/Character/isNumber`` - ``Swift/Character/isWholeNumber`` - ``Swift/Character/wholeNumberValue`` - ``Swift/Character/isHexDigit`` - ``Swift/Character/hexDigitValue`` ### Creating a Range Expression - ``Swift/Character/..<(_:_:)`` - ``Swift/Character/...(_:_:)`` - ``Swift/Character/..<(_:)`` - ``Swift/Character/...(_:)-4mm4x`` - ``Swift/Character/...(_:)-6ct59`` ### Describing a Character - ``Swift/Character/description`` - ``Swift/Character/debugDescription`` - ``Swift/Character/customMirror`` - ``Swift/Character/customPlaygroundQuickLook`` - ``Swift/Character/hash(into:)`` ### Infrequently Used Functionality - ``Swift/Character/init(extendedGraphemeClusterLiteral:)`` - ``Swift/Character/init(unicodeScalarLiteral:)``