Lasso Soft Inc. > Home

[ String_Remove ]

Method

[String_Remove] takes three parameters: a string, a -StartPosition keyword/value parameter, and an -EndPosition keyword/value parameter. Returns the string with the substring from -StartPosition to -EndPosition removed.

  • Syntax
string_remove('String Value',
-startposition=Position,
-endposition=Position)
Examples
  • Beginner

To remove a portion of a string:

Use the [String_Remove] method. The following example removes five characters from the string, starting at position 5, and returns the resulting string.

Code

string_remove('LassoSoft', -startposition=5, -endposition=9)

Result

Lass

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