Finding values in a string
Posted on 2009-04-07
I have some data in a string, I want to find a certain character and then display information after that character and before the next comma e.g.
MC=84895FE1;MS=0;SD=288362944;GSID=5550;GT=-1;PC=0;RU=3 100 10000 0 1 10 0 1 0 -1 0 -1 -1 1 ;S=HlIlIIIllIllIIIlI,4FE4F347,0,TT,-1,3,-1,-1,0,1,-1,:HE.LeOwNzAll,5464935A,0,TT,0,8,-1,-1,0,1,-1,E.:HMindstate,3EC23EBF,8088,
I want to return the values after this marker ':H' e.g. 'E.LeOwNzAll' and Mindstate.
I do not want to return the string position as these values can change based on the length of a name.
Thanks in advance