You are absolutely right about the 'trailing' space. I'd prefer
Correct me if I'm wrong but shouldn't you usePHP Code:=trim(LEFT(A1,FIND("@",SUBSTITUTE(A1," ","@",3))))
just to exclude a textstring that contains two adjacent spaces ?PHP Code:=TRIM(RIGHT(SUBSTITUTE(TRIM(A1)," ",REPT(" ",99)),N*99))




Reply With Quote

Bookmarks