How to Parse comma separated field.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bourneonline
    New Member
    • Feb 2008
    • 1

    How to Parse comma separated field.

    Hii..
    I am retiving selected field from Oracle database and store them in Cstring.
    and they r comma sepated.So how can i parse indivisual fields.
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by bourneonline
    Hii..
    I am retiving selected field from Oracle database and store them in Cstring.
    and they r comma sepated.So how can i parse indivisual fields.
    If u are suing c++ then you can use stringstream to accompolish the same.
    Then also search in this forum for more info

    Raghuram

    Comment

    • romcab
      New Member
      • Sep 2007
      • 108

      #3
      Hi..

      I think you can use strtok function to parse the string data.

      Comment

      Working...