+ 2

Splitting up a file using special character

Reading a file and splitting it when it detects the special character

21st Mar 2017, 5:22 PM
rahul pamak
rahul pamak - avatar
2 Respuestas
+ 5
What you refer to as a special character, let's call it a "delimiter". Use the string.split method; for convenience I've included a good article by Microsoft and I'm sure it will help you effectively: https://msdn.microsoft.com/en-us/library/ms228388.aspx
21st Mar 2017, 5:36 PM
Mark Foxx
Mark Foxx - avatar
0
can you share your mail id so i can forward you mu query I'm reading a file which has 6$ in it so when it appears the code is split into 2 parts, first is before 6$ token 1 and token 2 is the after I'm only able to read a small file but if i pass a big data containing file it does not work properly
21st Mar 2017, 5:40 PM
rahul pamak
rahul pamak - avatar