Results 1 to 7 of 7

Thread: compare two string variables

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,315
    Thanks
    314
    Thanked 870 Times in 857 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: compare two string variables

    Start by looking at these components: an integer counter variable, a for() loop, QString::length(), QString:at(), and an if() statement.
    It would probably be helpful to clear some space on your table so you can arrange the components in different ways until you get something that looks like it might solve the problem.

  2. The following user says thank you to d_stranz for this useful post:

    arumita (26th May 2014)

Similar Threads

  1. Qtime compare
    By valgaba in forum Qt Programming
    Replies: 2
    Last Post: 6th September 2013, 16:46
  2. how to locale compare two string ?
    By narutokage in forum Qt Programming
    Replies: 4
    Last Post: 16th August 2011, 09:13
  3. How do compare the two icons
    By addu in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2009, 16:19
  4. creating query string from variables
    By locus in forum General Programming
    Replies: 2
    Last Post: 16th April 2007, 08:50
  5. Compare
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 15:03

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.