Answers for "convert camelcase to sentence case javascript"

1

convert camelcase to sentence case javascript

var text = 'helloThereMister';
var result = text.replace( /([A-Z])/g, " $1" );
var finalResult = result.charAt(0).toUpperCase() + result.slice(1);
console.log(finalResult);
Posted by: Guest on August-17-2020
-1

convert a camel case to string

convert camel case to string
Posted by: Guest on November-22-2020

Code answers related to "convert camelcase to sentence case javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language