string
Extra string methods.
Methods
string:ToCamelCase(str)
View source »Returns the string without any spaces and each words first letter capitalized except the first word.
Parameters
-
str
string
The string to convert.
Returns
-
string
The converted string.
string:ToPascalCase(str)
View source »Returns the string without any spaces and each words first letter capitalized.
Parameters
-
str
string
The string to convert.
Returns
-
string
The converted string.
string:ToSnakeCase(str)
View source »Returns the string with an _ between each word and all words lowercased.
Parameters
-
str
string
The string to convert.
Returns
-
string
The converted string.
string:ToUpperCamelCase(str)
View source »Returns the string without any spaces and each words first letter capitalized.
Parameters
-
str
string
The string to convert.
Returns
-
string
The converted string.
string:ToUpperSnakeCase(str)
View source »Returns the string with an _ between each word and all words capitalized.
Parameters
-
str
string
The string to convert.
Returns
-
string
The converted string.