Hi,
I'm using QString::arg() to fill in data in a string.
Unfortunately, my string contains also the text "%1" that must appear in the output unchanged.
Is there a way to escape the %n when using .arg() ?
Best regards,
Marc
Hi,
I'm using QString::arg() to fill in data in a string.
Unfortunately, my string contains also the text "%1" that must appear in the output unchanged.
Is there a way to escape the %n when using .arg() ?
Best regards,
Marc
Something like this should work:
Qt Code:
for(int i =0; i <10; i++){ }To copy to clipboard, switch view to plain text mode
Bookmarks