跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

lower Function ​

lower converts all cased letters in the given string to lowercase.

Examples ​

shellsession
> lower("HELLO")
hello
> lower("АЛЛО!")
алло!

This function uses Unicode's definition of letters and of upper- and lowercase.

  • upper converts letters in a string to uppercase.
  • title converts the first letter of each word in a string to uppercase.

基于 MPL-2.0 许可证发布。