Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

qstring insert character

//Inserts the QString str at the given index position and returns a reference
//to this QString.

QString str = "Meal";
str.insert(1, QString("ontr"));
// str == "Montreal"
Source by doc.qt.io #
 
PREVIOUS NEXT
Tagged: #qstring #insert #character
ADD COMMENT
Topic
Name
1+8 =