MathTop

camel_case_string 函数

将文本中分隔开的单词转换为连接在一起的驼峰式文本。

语法

  • StringTools:-CamelCase(text)
  • CamelCase(text)
  • camel_case_string(text)

参数与选项

text文本值,通常写在引号中。

示例

  1. 驼峰式转换CamelCase('hello world_example')返回 HelloWorldExample。