The following query:
SELECT NVP ('entree:orange chicken#entree2:honey salmon', 'entree','#', ':', 1);
returns 'orange chicken'.
The following query:
SELECT NVP ('entree:orange chicken#entree2:honey salmon', 'entree','#', ':', 1);
returns 'orange chicken'.