Tag Link | !>> Not Contains | Category | Symbol |
---|---|---|---|
Type | Symbol | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | Boolean | Security | None |
Implementation | Internal | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
!>> performs a check to see if the string defined by the left parameter does not contain the string defined by the right parameter. It returns True if it does not, or False otherwise.
[If: Left_Parameter !>> Right_Parameter]
...
[/If]
<?LassoScript
If: Left_Parameter !>> Right_Parameter;
...
/If;
?>
Required Parameters | |
---|---|
Left Parameter | The string to be checked for inclusion of the substring. |
Right Parameter | The substring to be checked. |
To check that a string does not contain another string:
Use the does not contain operator !>>. In the following example the result is False since the string 'Quick brown fox' does not contain the word 'dog'.
[If: 'Quick brown fox' !>> 'dog']True[Else]False[/If]
True