Lasso Soft Inc. > Home

[ String_RemoveTrailing ]

Method

[String_RemoveTrailing] removes all instances of the -Pattern parameter from the end of the string. Returns the resulting string. The pattern is not case sensitive.

  • Syntax
string_removetrailing('String Value', -pattern='Pattern')
string_removetrailing('String Value', 'Pattern')
Examples
  • Beginner

To remove extra spaces from the end of a string:

Use the [String_RemoveTrailing] method. The following method removes characters from the end of a string.

Code

QUESTION
string_removetrailing('LassoSoft', -pattern='soft')

string_removetrailing('LassoSoft', 'soft')

Result

Lasso

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