[String->Equals] returns whether the parameter of the tag is equal to the base string. This tag performs exactly the same comparison as the == symbol.
This tag does not take the case of the strings into account when comparing them unless the optional -Case parameter is used.
['String'->(Equals: 'String')]
Use the [String->Equals] tag. The following example compares the base string to the first paramter of [String->Equals]. True is returned since the two strings have the same value.
[If: 'Quick fox'->(Equals: 'QUICK FOX')]True[Else]False[/If]
True
Tag Link | [String->Equals] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.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