# String.to_lowercase ## 功能 把字符串转换为小写。 ## 语法 ```bt string.to_lowercase() ``` ## 参数 无参数。 ## 返回值 | 类型 | 说明 | | ------ | ------ | | String | 返回小写后的新字符串。 | ## 示例 ```bt text = 'Hello BT' result = text.to_lowercase() // 输出:hello bt print result ``` ## 注意事项 - 使用 Rust 字符串小写转换规则。