[String->BeginsWith] returns True if the base string begins with the string parameter, False otherwise. Requires a single string parameter. The test is not case sensitive.
[String Variable->(BeginsWith: 'Pattern String')]
Use the [String->BeginsWith] tag within [If] ... [/If] tags. If the field Company_Name begins with the word Blue then the company name is colored blue using <font> ... </font> tags, otherwise it is displayed normally.
[If: (Field: 'Company_Name)->(BeginsWith: 'Blue')]
<font color="blue">[Field: 'Company_Name']</font>
[Else]
[Field: 'Company_Name']
[/If]
<font color="blue">Blue World</font>
Tag Link | [String->BeginsWith] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.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