You can use this monster if you are not sure that all your values ββcontain the character that you want to cut the string.
SELECT (CASE WHEN INSTR(field, '_') > 0 THEN substr(field, 1, instr(field, '_') -1) ELSE field END) AS field FROM dual
source share