Lasso Soft Inc. > Home

[ String_Extract ]

Method

[String_Extract] takes three parameters: a string, a -StartPosition keyword/value parameter, and a -EndPosition keyword/value parameter. Returns a substring from -StartPosition to -EndPosition.

Note: This tag performs a similar operation to [String->SubString].

  • Syntax
string_extract('string value',
  -startposition=position,
  -endposition=position)
Examples
  • Beginner

To extract a portion of a string:

Use the [String_Extract] tag. The following example extracts five characters from the string, starting at position 5.

Code

string_extract('string value', -startposition=5, -endposition=9)

Result

ng value

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 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft