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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>