Purpose
Split a string into two parts

Solution

// sample value
Set V[account] "123-45678"

// to text variable
Set text[x] "&V[account]"

// use CopyText with delimiter= to split the text
CopyText fromText="x" toString="part1" line=1 delimiter="-"
CopyText fromText="x" toString="part2" line=2 delimiter="-"

// test message
Message "&V[account]\n&V[part1]\n&V[part2]"


 

Components
InputAssistant