Well I don't get your question... but to remove something from a string use QString::remove() or QString::replace().