Lasso Soft Inc. > Home

[ string->removetrailing ]


[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.

  • Syntax
'String Object'->removetrailing('String Pattern')
  • Beginner

To remove extra characters from the end of a string:

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'


The quick white rhinoceros

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft