s.swap(s2)
s - str variable.
s2 - another str variable.
Exchanges strings of two str variables s and s2 without copying.
Exchanges str member variables lpstr, len, nc, but not flags.
Added in: QM 2.4.1.