I have a string of data coming from a device. I have to pull the data out of
the string that I need to put into an object.
this is an example of my return string:
each property in my object matches a return value(ie there is a property
called ecgSt1)
so I really need to know how to pull out the value between the = and the ;
ecgSt1=-65;ecgSt2=+65;e cgSt3=-45;p1=21,45,54; p2=45,55,21;t1= 99;hr=45;hrSour ce=;nibp=;nibpE lapsedTime=;res p=;respSource=; co2=;spo2=;o2=; agent=;agentTyp e=;n2o=
x.ecgst1=regex. Something(patte rn,string)etc.. . this should pull the value
between the = and the ;
I have searched pretty thouroughly on the web, but I cant seem to get the
right search terms going.
Eric
the string that I need to put into an object.
this is an example of my return string:
each property in my object matches a return value(ie there is a property
called ecgSt1)
so I really need to know how to pull out the value between the = and the ;
ecgSt1=-65;ecgSt2=+65;e cgSt3=-45;p1=21,45,54; p2=45,55,21;t1= 99;hr=45;hrSour ce=;nibp=;nibpE lapsedTime=;res p=;respSource=; co2=;spo2=;o2=; agent=;agentTyp e=;n2o=
x.ecgst1=regex. Something(patte rn,string)etc.. . this should pull the value
between the = and the ;
I have searched pretty thouroughly on the web, but I cant seem to get the
right search terms going.
Eric
Comment