String split operations in C# .

Posted by Indigo Praveen on Stack Overflow See other posts from Stack Overflow or by Indigo Praveen
Published on 2010-04-20T14:04:51Z Indexed on 2010/04/20 14:13 UTC
Read the original article Hit count: 231

Filed under:

Hi All,

I have a string say string s ="C:\\Data" , I have an array which contains some strings containg "C:\Data" in the beginning i.e. string[] arr = new {"C:\\Data\abc.xml","C:\\Data\Test\hello.cs"};.

I have to remove the string "C:\Data" from each entry and have to combine it with another string say string fixed = "D:\\Data".

What is the best way to do it, please help as I am a new programmer in C#.

© Stack Overflow or respective owner

Related posts about c#