=SUBSTITUTE(A4,B4,"")
C1: =IFERROR(LEFT(A1,FIND(B1,A1)-1),"")&IFERROR(RIGHT(A1,LEN(A1)-LEN(B1)-FIND(B1,A1)),"")