[String->RemoveTrailing] removes all instances of the parameter from the end of the string. Modifies the string and returns no value. Requires a single string parameter. The pattern is not case sensitive.
'String Object'->removetrailing('String Pattern')
Use the [String->RemoveTrailing] method. The following example removes extra "es" from a string object, then the result is output.
Code
local('s') = 'The quick white rhinoceroseseseses'
#s->removetrailing('es')
#s
Result
The quick white rhinoceros
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