- 3.6. Function reference
3.6.4. capitalize() - 3.6.3. average()
« Previous - 3.6.5. contains()
Next »
3.6.4. capitalize()
| Reference | string capitalize(string $text) |
|---|
Capitalizes the first letter in the $text.
<!-- result: "Hello world" -->
{capitalize('hello world')}
This function can operate also on a container of strings, capitalizing them all and returning the modified container.
- 3.6.4. capitalize()
3.6. Function reference - « Previous
3.6.3. average() - Next »
3.6.5. contains()