String.to_lowercase

String.to_lowercase

String.to_lowercase

功能

把字符串转换为小写。

语法

参数

无参数。

返回值

类型说明
String返回小写后的新字符串。

示例

注意事项

  • 使用 Rust 字符串小写转换规则。