- This topic has 2 replies, 3 voices, and was last updated 14 years, 6 months ago by .
I’d like to trim the OBR-3.1 in the following message:
OBR|1|1227111^IBEX|0000007821L14001^HBOX|14001^XR ABD FLAT,ERECT W/CXR^RAD||||||||||||930^PUCCIO^EDWARD^V||||||200906051009|||CHECKED IN||1^^^200906051008^^^^^|||ST^STRETCHER^RAD|^sob|||||
I need the first ten digits – or conversely, I need to strip off from the “L” onward (inclusively, for example – 0000007821)
My instict tells me something that keys in on the “L” and everything to the right would be the best solution – as I can’t be absolutely sure that there will always be ten digits to the left or 5 digits to the right of then “L”
Any help with this is appreciated!
- The forum ‘Cloverleaf’ is closed to new topics and replies.