Title case(标题大小写(Title case))¶
Supported in: Batch, Faster, Streaming
Converts the first character of each word to be uppercase and the rest lowercase.
Expression categories: String
Declared arguments¶
- Expression: The string to convert to title case.
Expression\
Output type: String
Examples¶
Example 1: Base case¶
Argument values:
- Expression: hello world
Output: Hello World
Example 2: Null case¶
Argument values:
- Expression: null
Output: null
Example 3: Edge case¶
Argument values:
- Expression: hello-world
Output: Hello-world
中文翻译¶
标题大小写(Title case)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
将每个单词的首字母转换为大写,其余字母转换为小写。
表达式类别: 字符串(String)
声明的参数¶
- 表达式(Expression): 要转换为标题大小写的字符串。
表达式\<String>
输出类型: String
示例¶
示例 1:基本用例¶
参数值:
- 表达式: hello world
输出: Hello World
示例 2:空值用例¶
参数值:
- 表达式: null
输出: null
示例 3:边界用例¶
参数值:
- 表达式: hello-world
输出: Hello-world