×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    139

    How to check special characters in TBuf ?

    Hi All,

    I need to allow only alphanumeric characters while saving in a TBuf buffer.So if there are any special characters,I should not save it.

    So how to check the buffer is having only alphanumeric characters.

    Thanks in Advance.

    Regards,
    ramesh12.

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to check special characters in TBuf ?

    Just put a loop as we do in normal c with char array. I hope link can be helpful to you.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: How to check special characters in TBuf ?

    TChar class has IsAlpha() function. Read the SDK and do accordingly.
    Nokia Developer Wiki Moderation team

Similar Threads

  1. Special Characters
    By nitant_flashlite in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2010-02-06, 16:29
  2. Special Characters
    By singh_gundeep in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-02-19, 08:23
  3. aknglobalmsgquery and special characters
    By Noxh in forum Symbian
    Replies: 0
    Last Post: 2007-08-09, 22:36
  4. e61 Special Characters
    By parautenbach in forum General Development Questions
    Replies: 0
    Last Post: 2007-01-24, 12:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×