What do u mean terminate ?? If you mean remove, u can use QString::remove()