Re: Capitalise First Letters in Customer Info
why the loop through all the letters?
use split and then do a
o[i].charAt(0).toUpperCase()+o[i].substr(1).toLowerCase()
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
|