oracle sql substring before and after character