locked
Parsing a string (Windows Store apps style) RRS feed

  • Question

  • I have the below string.

    StringA = "5\r\nGOPR0151 21.jpg\r\nGOPR0151 22.jpg\r\nGOPR0151 23.jpg\r\nGOPR0151 24.jpg\r\nGOPR0151 25.jpg"

    The end product would be below

    List1 =”5”

    List2=” GOPR0151 21.jpg”

    List3=” GOPR0151 22.jpg”

    List4=” GOPR0151 23.jpg”

    List5=” GOPR0151 24.jpg”

    List6=” GOPR0151 25.jpg”

    I can parse it character by character but I was hoping there would be a method to do it. When I search there was a lot of parsing call but I was not sure which one I should use.

    Thanks,
    Grim

    Thursday, December 5, 2013 6:47 PM

Answers

All replies