Function: tooltip-strip-prompt

Return OUTPUT with any prompt of PROCESS stripped from its end.