capitalize (Version: 1) - Miva - Snippets
<mvt:assign name="g.str" value="'caleb'" /> <mvt:assign name="g.firstLetter" value="substring(g.str,0,1)" /> <mvt:assign name="g.capitalize" value="toupper(g.firstLetter) $ subString(g.str,2,len(g.str))" /> &mvt:global:capitalize;