logo
Home XtGem- Templates- XtScript- bottom
Make a string's first character uppercase
[...] = optional ... = your value
[var $... = ]call ucfirst $val=...
Show in textarea
<!--parser:xtscript-->
var $input = foobar
var $output = call ucfirst $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->
Show in textarea
Reload
input = foobar
output = Foobar
Powered by XtGem
About us Contact Forum topÂ