Converts a string to camelCase. Handles various separators: spaces, hyphens, underscores, and transitions between cases.
camelCase('hello-world');// => 'helloWorld'camelCase('hello_world_test');// => 'helloWorldTest' Copy
camelCase('hello-world');// => 'helloWorld'camelCase('hello_world_test');// => 'helloWorldTest'
String to convert
camelCased string
Converts a string to camelCase. Handles various separators: spaces, hyphens, underscores, and transitions between cases.
Example