Sidebar

How do I use HPath to find a segment with a blank field/component?

+1 vote
477 views
asked Jul 3, 2013 by rich-c-2789 (16,180 points)
How do I use HPath to find a segment with a blank field/component?
For example I want to find a PID segment where PID-4 is blank:

PID|1|54664|125-54664||Mouse^Mickey^L||19410101||||||

1 Answer

+1 vote
 
Best answer

Be sure to use a quoted empty string after the equals sign.

Example: PID[@4='']



 

answered Jul 3, 2013 by rich-c-2789 (16,180 points)
edited Jul 8, 2013 by rich-c-2789
...