Results 1 to 4 of 4

Thread: How to remove these characters from(",/,\,|,*,>) from filename?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to remove these characters from(",/,\,|,*,>) from filename?

    Hi all

    Working on Qt4.3.4 on Windows Operating System.
    Can anybody tells me how can i remove the following charactrs from the filename (",/,\,>,<,*,?,:,|) from the filename and my filename is of QString type.
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to remove these characters from(",/,\,|,*,>) from filename?

    QString remove should help.

  3. #3
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to remove these characters from(",/,\,|,*,>) from filename?

    Thanks for the reply

    In QString::Remove these characters should be taken as QChar or QRegExp.
    Always Believe in Urself
    Merry

  4. #4
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to compare Key ASCII values?

    Hi all

    Can anybody knows how to compare Key AScii values or say Character ASCII values using Qt4.3
    Always Believe in Urself
    Merry

Similar Threads

  1. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18

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.