Custom Camel Case by jquery

Problem:some times name field in camel case and also first letter in each word is big like 200% or any custom size.

then the below program can help to do that.



var words = $(‘#user-name’).text().split(‘ ‘);

var html = ”;

$.each(words, function() {

html+='[span_style=”font-size:custom-px;”]’+this.substring(0,1)+'[/span]’+'[span_style=”font-size:custom-px;”]’+this.substring(1)+'[/span]’+ ‘ ‘;





The actual code is given in following picture :

Custom Camel Case