[String->EndsWith] returns True if the string object ends with the string parameter, False otherwise. Requires a single string parameter. The test is not case sensitive.
An optional -Case parameter compares the string taking case into account.
'String Object'->endsWith('String Pattern')
'String Object'->endsWith('String Pattern', -case)
Use the [String->EndsWith] method. The following example tests whether the string object "LassoSoft" ends with the string parameter "Soft", and returns True.
Code
'LassoSoft'->endsWith('Soft')
Result
true
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
Recent Comments