StrGetElement
Gets a specific element from a string source.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
StrGetElement | String | Synchronous | Supported | Supported | Supported | Supported |
Syntax
StrGetElement( strSource, strDelimiter, numElementNumber )
- strSource
- The source string.
- strDelimiter
- Char used as delimiter between the elements.
- numElementNumber
- Number of the element which will be returned by the function. The first element has the number 1. The second element has the number 2 and so forth.
Returned value
Returns the element (string value) retrieved from strSource.
Examples
Tag Name | Expression |
---|---|
Tag | StrGetElement( “a|b|c”, “|”, 2 ) // returned value = “b” |
Tag | StrGetElement( “a,b,c”, “,”, 3 ) // returned value = “c” |