[String->ToTitle] modifies the base string in-place by converting the specified character to titlecase. Requires a single parameter, which indicates the position of the character to change.
[Variable: 'myString' = 'String Value']
[$myString->(ToTitle: Integer)]
[Variable: 'myString']
<?LassoScript
Variable: 'myString' = 'String Value';
$myString->(ToTitle: Integer)]
Output: $myString;
?>
Use the [String->ToTitle] tag. The following example outputs a sample string converted to title case.
[Variable: 'myString' = 'a quick brown fox']
[$myString->(ToTitle: 1)]
[Output: $myString]
A quick brown fox
Tag Link | [String->ToTitle] | 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