D
denysH
Guest
Hello everyone,
I need a code that will do something like break each line after a specific character (;), in fact the text after a specific character will go into a new line. Thanks in advance.
string path = @"c:\File.txt";
For example
File.txt (multiline) before executing code:
1234 ;Monday
5678 ;Tuesday
abcd ;Wednesday
efgh ;Thursday
0i9n ;Friday
.
.
.
File.txt (multiline) after executing the code:
1234 ;
Monday
5678 ;
Tuesday
abcd ;
Wednesday
efgh ;
Thursday
0i9j ;
Friday
.
.
.
Continue reading...
I need a code that will do something like break each line after a specific character (;), in fact the text after a specific character will go into a new line. Thanks in advance.
string path = @"c:\File.txt";
For example
File.txt (multiline) before executing code:
1234 ;Monday
5678 ;Tuesday
abcd ;Wednesday
efgh ;Thursday
0i9n ;Friday
.
.
.
File.txt (multiline) after executing the code:
1234 ;
Monday
5678 ;
Tuesday
abcd ;
Wednesday
efgh ;
Thursday
0i9j ;
Friday
.
.
.
Continue reading...