For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Last updated

Was this helpful?