qstring insert character

Solutions on MaxInterview for qstring insert character by the best coders in the world

showing results for - "qstring insert character"
Valery
24 Jan 2018
1//Inserts the QString str at the given index position and returns a reference
2//to this QString.
3
4QString str = "Meal";
5str.insert(1, QString("ontr"));
6// str == "Montreal"