Functions:capitalize
From Dwoo Docs
Uppercases the first letter of each word in the given string
capitalize(string $value [, bool $numwords = false ] )
- value : string to capitalize
- numwords : whether or not to capitalize words with numbers
Example:
{capitalize('this is a string what2')}
Output:
This Is A String what2




