Funny you say that... I said something similar in a post way back when I first started using Kix. I can tell you that not only have I completely stopped using the "for" loops/cmd scripts, I'm amazed at how I ever even used them to begin with. They are hard to trouble shoot, have little to no structure, and try explaining it to someone who's never used it before...

The Pipe UDFs will get your output into a variable, which you can then split the data just as you did with the "Delims", creating an array. Each "token" (value) in the Array is accessable either by a for/next loop, or directly by $array[#] where # is the token you are looking for.
_________________________
(... better days ahead)