[String->TitleCase] modifies the base string in-place by converting the first character in each word of the string to uppercase and all other characters in the string to lowercase.
[Variable: 'myString' = 'String Value']
[$myString->(TitleCase)]
[Variable: 'myString']
<?LassoScript
Variable: 'myString' = 'String Value';
$myString->(TitleCase)]
Output: $myString;
?>
Use the [String->TitleCase] tag. The following example outputs a sample string converted to title case.
[Variable: 'myString' = 'A quick brown fox']
[$myString->TitleCase]
[Output: $myString]
A Quick Brown Fox
Tag Link | [String->TitleCase] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | None | Security | None |
Implementation | Sets | Lasso 7.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft