Using Polypad this scripts transforms plain text string into a camel case string.
What is camel case with example?
The name refers to the internal capital letters, which resemble the humps on a camel’s back. For example, UpCase, FedEx, and ClassName are all examples of CamelCase. With computer programming, CamelCase is often used as a naming convention for variables, arrays, and other elements.
CamelCase Code Example
function camelCase(str) {
return str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (m, chr) => chr.toUpperCase());
}
function main(input) {
input.text = camelCase(input.text)
}