"capitalize" Snippets


Basket #29601

capitalize a string
Created: 1485552377
View "Basket #29601"
<mvt:assign name="g.str" value="'chris dye'" /> <mvt:assign name="g.capitalize" value="toupper(substring(g.str,0,1)) $ subString(g.str,2,len(g.str))" /> &mvt:global:capitalize;
 

capitalize

capitalize a string
Created: 1453744065
View "capitalize"
<mvt:assign name="g.str" value="'caleb'" /> <mvt:assign name="g.capitalize" value="toupper(substring(g.str,0,1)) $ subString(g.str,2,len(g.str))" /> &mvt:global:capitalize;
 

capitalize

capitalize a string
Created: 1453743986
View "capitalize"
<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;