other_case_string 函数
将大写字母转换为小写,并将小写字母转换为大写。
语法
StringTools:-OtherCase(text)OtherCase(text)other_case_string(text)
参数与选项
text | 文本值,通常写在引号中。 |
|---|
示例
- 交换字母大小写
OtherCase('AbC 123')返回 aBc 123。
将大写字母转换为小写,并将小写字母转换为大写。
StringTools:-OtherCase(text)OtherCase(text)other_case_string(text)text | 文本值,通常写在引号中。 |
|---|
OtherCase('AbC 123')返回 aBc 123。