I found my friend Qt's code, and it uses the modulo operator on two QString as follows:
QString
QString result = oneString % twoString;
What does it mean?
This is just another (more efficient) way to concatenate QString , as described in the manual.
QStringBuilder uses expression patterns and overloads the '%' operator, so when using '%' to concatenate strings instead of '+', multiple concatenations of substrings will be delayed until the final result is assigned to QString. At this stage, the amount of memory required for the final result is known. Memory Then the allocator is called once to get the required space, and the substrings are copied into it one by one.
This is a special way to build strings in Qt. Look at the page .