Best way to parse parameters RRS feed

  • Question

  • Hey guys, 

     I have parameters returned in the following format "@startDate='1/2/2005'@endDate='12/12/2006'@value1='test'@value2='test3'"

    my questions is whats the best way to parse all the values out. Basically i jus wanna get each value out such as ie. '1/2/2005' and assign then to another variable i just created. So wats the best way i could parse this?

    Wednesday, November 23, 2005 7:51 PM


  • I see 2 options:

    either you parse the string yourself.  The string.Split() method would be of help here to split the string in different parts.

    either you use a 3rd-party parser.  If you provide that with the syntax of your return value it can do the parsing for you.   I like this one a lot (


    Wednesday, November 23, 2005 9:45 PM