How can I use the split command to split a string by another string, instead of one character?
set newlist [split oldlist MSH|]
set newlist [split oldlist "MSH|"]
set newlist [split oldlist {MSH|}]
set newlist [split oldlist ^(MSH)]
and none have worked. Why is something so easy so hard?
Thanks in advance...
set newlist [split oldlist MSH|]
set newlist [split oldlist "MSH|"]
set newlist [split oldlist {MSH|}]
set newlist [split oldlist ^(MSH)]
and none have worked. Why is something so easy so hard?
Thanks in advance...