Originally posted by Steven Lindsey
In the OBR 28 filed is a repeating filed; in the 0 6 12 18 spot and I need to pull out the Dr. number. The only problem that I have is that there is ~ in front of those numbers. How can I can I get around that.
Example
0839^JUDY^JANE^^^^~6061^JONES^BOB^^^^~6061^KEVIN^COOL^^^^
Here is my Tclproc:
set OBRList [split [lindex $segList $OBRpos] $fldSep]
set OBRDrList [split [lindex $OBRList $OBRDrCC] $subSep]
set OBRDrCC [split [lindex $OBRDrList 0] $subSep]
Thanks,
Steven