DEV Community

Discussion on: Object properties: Convert delimited strings to camelCase in JavaScript

Collapse
 
calebpitan profile image
Caleb Adepitan

Yeah RegExp is a great approach. I omitted that. I think I should add it. Thanks for sharing this.

Collapse
 
__orderandchaos profile image
Order & Chaos Creative

No problem, Regex is so hard to read, go with whatever works for you. I was lucky enough to find a fairly decently tested Regex match and tweak it to suit my needs.

Thanks again, your post encouraged me to improve my scripts.