std.uni
Functions which operate on Unicode characters. For functions which operate on ASCII characters and ignore Unicode characters, see std.ascii. References:ASCII Table, Wikipedia, The Unicode Consortium Trademarks:
Unicode(tm) is a trademark of Unicode, Inc. License:
Boost License 1.0. Authors:
Walter Bright, Jonathan M Davis, and Kenji Hara Source:
std/uni.d
- UTF line separator
- UTF paragraph separator
- Whether or not c is a Unicode whitespace character. (general Unicode category: Part of C0(tab, vertical tab, form feed, carriage return, and linefeed characters), Zs, Zl, Zp, and NEL(U+0085))
- Deprecated. It will be removed in August 2012. Please use isLower instead. Return whether c is a Unicode lowercase character.
- Return whether c is a Unicode lowercase character.
- Deprecated. It will be removed in August 2012. Please use isUpper instead. Return whether c is a Unicode uppercase character.
- Return whether c is a Unicode uppercase character.
- Deprecated. It will be removed in August 2012. Please use toLower instead. If c is a Unicode uppercase character, then its lowercase equivalent is returned. Otherwise c is returned.
- If c is a Unicode uppercase character, then its lowercase equivalent is returned. Otherwise c is returned.
- Deprecated. It will be removed in August 2012. Please use toUpper instead. If c is a Unicode lowercase character, then its uppercase equivalent is returned. Otherwise c is returned.
- If c is a Unicode lowercase character, then its uppercase equivalent is returned. Otherwise c is returned.
- Deprecated. It will be removed in August 2012. Please use
isAlpha instead.
Returns whether c is a Unicode alpha character
(general Unicode category: Lu, Ll, Lt, Lm, and Lo).
Standards:
Unicode 5.0.0. - Returns whether c is a Unicode alpha character
(general Unicode category: Lu, Ll, Lt, Lm, and Lo).
Standards:
Unicode 5.0.0. - Returns whether c is a Unicode mark
(general Unicode category: Mn, Me, Mc).
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode numerical character
(general Unicode category: Nd, Nl, No).
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode punctuation character
(general Unicode category: Pd, Ps, Pe, Pc, Po, Pi, Pf).
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode symbol character
(general Unicode category: Sm, Sc, Sk, So)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode whitespace character
(general Unicode category: Zs)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode graphical character
(general Unicode category: L, M, N, P, S, Zs).
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode control character
(general Unicode category: Cc)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode formatting character
(general Unicode category: Cf)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode Private Use character
(general Unicode category: Co)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode surrogate character
(general Unicode category: Cs)
Standards:
Unicode 6.0.0. - Returns whether c is a Unicode high surrogate (lead surrogate).
Standards:
Unicode 2.0. - Returns whether c is a Unicode low surrogate (trail surrogate).
Standards:
Unicode 2.0. - Returns whether c is a Unicode non-character
(general Unicode category: Cn)
Standards:
Unicode 6.0.0.