StringUtils extension

on

Properties

camelCase String

Available on String, provided by the StringUtils extension

Chuyển đổi chuỗi sang định dạng camelCase. Ví dụ: "hello_world" -> "helloWorld", "MyAwesomeClass" -> "myAwesomeClass"
no setter
kebabCase String

Available on String, provided by the StringUtils extension

Chuyển đổi chuỗi sang định dạng kebab-case. Ví dụ: "helloWorld" -> "hello-world", "my_awesome_class" -> "my-awesome-class"
no setter
pascalCase String

Available on String, provided by the StringUtils extension

Chuyển đổi chuỗi sang định dạng PascalCase. Ví dụ: "hello_world" -> "HelloWorld", "helloWorld" -> "HelloWorld"
no setter
snakeCase String

Available on String, provided by the StringUtils extension

Chuyển đổi chuỗi sang định dạng snake_case. Ví dụ: "helloWorld" -> "hello_world", "MyAwesomeClass" -> "my_awesome_class"
no setter