| Home | All functions | Categories |
vuStringParse(*CSTRING, *CSTRING, LONG), CSTRING
Parses a string based on the specified delimiter and returns the requested segment. The delimiter can be one or more characters.
| Parameter | Data Type | Description |
|---|---|---|
| MainStrg | CSTRING(256) | The input string to parse. |
| subStrg | CSTRING(128) | The delimiter string (one or more characters). |
| Segment | LONG | The segment number to return (1-based index). |
A CSTRING containing the segment of MainStrg between the specified delimiters.
MainStrg = 'Segment1<>Segment2<>Segment3<>Segment4'
subStrg = '<>'
Result = vuStringParse(MainStrg, subStrg, 3)
MESSAGE(Result)
! Result: 'Segment3'
Chat
| Home | All functions | Categories |