delimiter - Determining delimeter for a structured section in a text file using a hex viewer -


i have text file structured data. after each text block says "end" , continues onto next block. looking @ hex viewer see

0a:45:4e:44:0a:20:20:20:20:20:20:20:20:20 

which translates

?end?          

notice 9 spaces.

how write delimeter in code?

"end\n\n\n \n \n \n \n \n \n" 

this doesn't seem work. missing?

most likely,

"\nend\n         " 

however forgot mention language you're using. did \ns from?


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -