nuttyernurse
Technical User
I am trying to get specific text from a string that works until I get a null field.
The string is:
<SPAN STYLE=""font-family:Arial; font-size: 3pt""><FONT FACE=""Arial"" SIZE=""3""> <STRONG><I><U>Presenting complaint:</U></I></STRONG> EMS states: shortness of breath, worse this pm, just released from regency earlier today</FONT></SPAN>
I only want:
EMS states: shortness of breath, worse this pm, just released from regency earlier today
And I get it except when this field is null. The formula I am using is:
Mid({EDMS_ARC.s_Entry},InStr ({EDMS_ARC.s_Entry},"</STRONG>")+9,(InStr ({EDMS_ARC.s_Entry},"</FONT>" ))-(InStr ({EDMS_ARC.s_Entry},"</STRONG>" )+9))
How do I deal with the null fields?
Thank you in advance!
The string is:
<SPAN STYLE=""font-family:Arial; font-size: 3pt""><FONT FACE=""Arial"" SIZE=""3""> <STRONG><I><U>Presenting complaint:</U></I></STRONG> EMS states: shortness of breath, worse this pm, just released from regency earlier today</FONT></SPAN>
I only want:
EMS states: shortness of breath, worse this pm, just released from regency earlier today
And I get it except when this field is null. The formula I am using is:
Mid({EDMS_ARC.s_Entry},InStr ({EDMS_ARC.s_Entry},"</STRONG>")+9,(InStr ({EDMS_ARC.s_Entry},"</FONT>" ))-(InStr ({EDMS_ARC.s_Entry},"</STRONG>" )+9))
How do I deal with the null fields?
Thank you in advance!