% foo1.m Donald Duck, 10/03/06 name = 'Paul Brown'; newName = strrep(x,'P','B'); fprintf('%s\n',newName);