s = s.replace(/\w+/g,

function(w){return w[0].toUpperCase() + w.slice(1).toLowerCase();});

Reply to this note

Please Login to reply.

Discussion

No replies yet.