Could someone try the following code in Matlab? s = erase('this is it',['this';'is']) double (s) Thanks, Rik