Hi All!
Can anyone help me remember how to parse out a variable that contains dilimited and sub-delimited data? I thought either MID() or LEN() did that in VB, but I can't seem to get it to work.
Something along the lines of this:
Variable PATIENT contains the text "DOE,JOHN,C^34^M"
What I need to do is access the first "^" piece of the variable, then the second "," piece, arriving at "John".
I though I could do this with nested MID or LEN statements, but it doesn't seem to work. Any help jogging my aging memory would be greatly appreciated.
Thanks is advance.
Can anyone help me remember how to parse out a variable that contains dilimited and sub-delimited data? I thought either MID() or LEN() did that in VB, but I can't seem to get it to work.
Something along the lines of this:
Variable PATIENT contains the text "DOE,JOHN,C^34^M"
What I need to do is access the first "^" piece of the variable, then the second "," piece, arriving at "John".
I though I could do this with nested MID or LEN statements, but it doesn't seem to work. Any help jogging my aging memory would be greatly appreciated.
Thanks is advance.