Selection of text from a string
I have data in the following string format
BIGGY SBJ LANNA TROXL ETX FLOAT BOYER LRP GEERI KITHE BELAY TRISH CLIPR
ENSUE BAL
or
BIGGY|SBJ|LANNA etc
and
BWZ ELIOT ETX DIMMO DRAPE FORTT DOOTH PSB YNG CXR LEBRN
or
BWZ|ELIOT|ETX... etc..
I am trying to capture the first 5 letter "fix" in the string which is fine
if the first one is the 5 letter "fix". For that i have been using
Left(....,5) obviously.
But i want to be able to say that if the length before the first delimiter
is =3 then check after delimiter to get the first 5 letter "fix".
Unfortunately i cant for the life of me think how to accomplish this.
Any thoughts?
Thanks
Marcus
but also with
|