ucfirst
Capitalizes the first character of a variable's value.
Sample Usage
{{ sentence|ucfirst }}
If {{ sentence }}
is go to the store
, this will output Go to the store
.
Parameters
This modifier has no parameters.
Capitalizes the first character of a variable's value.
{{ sentence|ucfirst }}
If {{ sentence }}
is go to the store
, this will output Go to the store
.
This modifier has no parameters.
This article was last updated on March 30th, 2016. Find an error? Please let us know!