I have this string in C# –
".... School||Abc\r\n...State||CA\r\n..."
The school and state are somewhere in the string. I need to parse the string in such a way that i get the values of School and State for my parameters
string school = abc (from String after parsing)
string state = CA (from string after parsing)
Try this:
Now you can access what you need like so:
Where the
longStrvariable is just your long string that you start out with, not neccessarily what I set it to.