[String_EndsWith] returns True if the string ends with the parameter. Requires a single string parameter. The test is not case sensitive.
This tag is equivalent to the member tag [String->EndsWith].
[String_EndsWith: 'String Value', -Find='String Value']
Use the [String_EndsWith] tag. The following code checks the file name 'default.lasso' to see if it ends with the suffix '.lasso'. The tag returns True.
[String_EndsWith: 'default.lasso', -Find='.lasso']
True
Tag Link | [String_EndsWith] | Category | String |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
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