PascalCase
Convert a string to pascal case
Method Signature
PascalCase(string=[string])Arguments
Argument
Type
Required
Description
Default
string
string
true
The target string
Examples
Convert a string to PascalCase
result = pascalCase( "hello_world" );
writeOutput( result );
Result: HelloWorld
Convert kebab-case to PascalCase
result = pascalCase( "my-variable-name" );
writeOutput( result );
Result: MyVariableName
Using the member function
Result: FooBar
Related
Last updated
Was this helpful?
