Lasso Soft Inc. > Home


[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.

  • Syntax
  • Parameters
[Variable: 'myString' = 'String Value']
[$myString->(ToTitle: Integer)]
[Variable: 'myString']

Variable: 'myString' = 'String Value';
$myString->(ToTitle: Integer)]
Output: $myString;
Required Parameters
String The string to be modified.
Integer Indicates the position of the character to change. The first character in the base string is 1.

To change the case of a string to title case:

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 LCAPI Sets Lasso 8.5, Lasso 8.0, 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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft