Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to reverse QString ?
Forum Updated to NodeBB v4.3 + New Features

How to reverse QString ?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 869 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote on last edited by sonichy
    #1

    Something like these:

    QString a = "abcdefg";
    QString b =  a.reverse(); // b = "gfedcba"
    

    https://github.com/sonichy

    ODБOïO 1 Reply Last reply
    0
    • sonichyS sonichy

      Something like these:

      QString a = "abcdefg";
      QString b =  a.reverse(); // b = "gfedcba"
      
      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      hi @sonichy https://forum.qt.io/topic/106032/how-to-reverse-an-string

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved