Tag Link | [String_Extract] | Category | String |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 2.5 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5 |
[String_Extract] takes three parameters: a string, a
Note: This tag performs a similar operation to [String->SubString].
[String_Extract: 'String Value',
Required Parameters | |
---|---|
String Value | The string which is to be modified. |
-StartPosition | The character index of the start of the extracted string. |
-EndPosition | The character index of the end of the extracted string. |
Optional Parameters | |
Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
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.
[String_Extract: 'String Value',
ng Va