Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107615

QString placeholder orders

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P4: Low
    • None
    • 5.15.11, 5.15.10
    • None
    • All

    Description

      Hi,

      If I do

      QString test = QString("%1%2").arg("value ").arg("204");

      I get as expected test = "value 204"

      However, if I do

      QString test = QString("%2%1").arg("204").arg("value ");

      I get test = "value 04" which is wrong.

      Regards,
      Philippe
       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            matirai Philippe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes