[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.
local('s') = 'The quick white rhinoceroseseseses' #s->removetrailing('es') #s
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.