I want to use .arg() on a string. This is an example:
qDebug() << QString("%11%2").arg(66).arg(77);
I would like to get the output 66177
but of course this isn't the actual output since %11
is interpreted as placeholder #11 instead of place holder #1 followed by a literal 1.
Is there a better solution than the following?
qDebug() << QString("%1%2%3").arg(66).arg(1).arg(77);