camel_case_string 函数
将文本中分隔开的单词转换为连接在一起的驼峰式文本。
语法
StringTools:-CamelCase(text)CamelCase(text)camel_case_string(text)
参数与选项
text | 文本值,通常写在引号中。 |
|---|
示例
- 驼峰式转换
CamelCase('hello world_example')返回 HelloWorldExample。
将文本中分隔开的单词转换为连接在一起的驼峰式文本。
StringTools:-CamelCase(text)CamelCase(text)camel_case_string(text)text | 文本值,通常写在引号中。 |
|---|
CamelCase('hello world_example')返回 HelloWorldExample。