Skip to content

rife.render.CapitalizeWords

Erik C. Thauvin edited this page Nov 15, 2024 · 1 revision

Capitalizes words of a template value.

Usage

<!--v render:rife.render.CapitalizeWords:valueId/-->
{{v render:rife.render.CapitalizeWords:valueId/}}

Sample

Template

<!--v render:rife.render.CapitalizeWords:text/-->!

Code

template.setAttribute("text", "this is a TEST");

Output

This Is A Test