capitalize

Returns a string with the first character of each word or the first word capitalized.

1
{{$capitalize [value]}}
Example
format JSON XML
Data JSON
1
2
3
4
5
{
"Product": {
"name": "simple product"
}
}
HTML
1
{{$capitalize Product.name}}
Result
Data XML
1
2
<Product name="simple product">
</Product>
HTML
1
{{$capitalize Product._name}}
Result

Params

1
2
3
4
{{$capitalize
"string value"
onlyFirst=true
}}