Posted on: 3/31/2015 5:49:53 AM | Views : 697

Hi, I am trying to convert one string to be more meaningful,
original: OMSC003 - Basic content updates 59022 Removal of ANZ Property Loan 2 Years Fixed Rate packages Closed Normal SLA NormalJames,Bond  Singapore - Retail Standard (<5 items) Low James,Bond 
Output:  OMSC003 - Basic content updates, 59022, Removal of ANZ Property Loan 2 Years Fixed Rate packages, Closed, Normal SLA Normal, James,Bond, Singapore - Retail, Standard (<5 items) Low, James,Bond 
And here is my code, but it didn't work
string spitstr = Regex.Replace(Regex.Replace(csvRow, "\"\\s+\"", ","), "\"", ""); string[] result = spitstr.Split(','); //Adding each row into datatable if (result.Count() > 10) ...

Go to the complete details ...