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

CamelCase

Convert a string to camel case

Method Signature

CamelCase(string=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The target string

Examples

Convert a string to camelCase

result = camelCase( "hello_world" );
writeOutput( result );

Result: helloWorld

Convert kebab-case to camelCase

result = camelCase( "my-variable-name" );
writeOutput( result );

Result: myVariableName

Using the member function

Result: fooBarBaz

Last updated

Was this helpful?