Bharani
0
Q:

convert a camel case to string

var text = 'helloThereMister';
var result = text.replace( /([A-Z])/g, " $1" );
var finalResult = result.charAt(0).toUpperCase() + result.slice(1);
console.log(finalResult);
0
convert camel case to string
0

New to Communities?

Join the community