vTextSubSplit
Returns a substring of a string The "Pattern" text field uses Lua Patterns to parse the string into a JSON like Array object. Additional information about patterns can be read in the Lua manual. The portion of the pattern you want to return should be placed inside a pair of parentheses characters "(" and ")". If you wanted to return all of the characters from the input string you would use a Pattern of: (.*) If you had a list of single word objects that were comma separated like: Apple;Orange,Pear,Mango Then you could break the text down into individual objects using a Pattern of: (%a+),- The output would be formatted as: \{"size":4,"array":["Apple","Orange","Pear","Mango"]\} If you had a string with an IPv4 style IP address in it like "192.168.1.1", you could break the text down into individual digits groupings using a Pattern of: (%d+) The output would be formatted as: \{"size":4,"array":["192","168","1","1"]\}

Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Text | Text | — | — |
| Pattern | Text | — | — |
| Show Input | Integer | 1.0 | — |