Revathi Parvathi

Revathi Parvathi

  • 1.5k
  • 323
  • 24.7k

How to fetch data from string using C#

Oct 25 2017 8:54 AM
I have one string
 
str="Sales Location: ROAD\nOrder Taker: DAWN RUSHIK Sales Rep: DAWN RUSHIK\nPhone: (570) 650-0155 Fax: (866) 937-3391\nEmail: wgr@socantel.net";
 
How to fetch sales rep name ?
Input: Sales Location: ROAD\nOrder Taker: DAWN RUSHIK Sales Rep: DAWN RUSHIK\nPhone: (570) 650-0155 Fax: (866) 937-3391\nEmail: wgr@socantel.net
 
output: DAWN RUSHIK

Answers (4)