Revathi Parvathi

Revathi Parvathi

  • 1.7k
  • 323
  • 36.8k

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

Brought to you by:

Answers (4)