Results 1 to 4 of 4

Thread: How to avoid unnecessary chars in QStringList item?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to avoid unnecessary chars in QStringList item?

    or maybe you want to use QString::split()? If you use it on your string like this:
    Qt Code:
    1. QStringList list = receivedItem.split("?");
    To copy to clipboard, switch view to plain text mode 
    then the list contains 5 items: "BOM ", "DEL:1.0 ", "VSP:UTF-8/ ", "HYD/ThisisTest ", "END:VBKM"
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to avoid unnecessary chars in QStringList item?

    hey are you chandra moli?

Similar Threads

  1. Replies: 2
    Last Post: 12th June 2009, 10:55
  2. position of an item in a QStringList
    By jaca in forum Newbie
    Replies: 4
    Last Post: 29th May 2008, 05:49

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.