hi all
i have an output like this
Code:
ID=123:one=a:two=a@yahoo.com:three=789:four=:five=123 ID=123:one=aa:two=aa@yahoo.com:three=:four=1111111111:five=
:/
i would like to truncate this write in a file (file.txt) as
Code:
//begin
a
a@yahoo.com
789

123
//begin
aa
aa@yahoo.com

11111111

//begin
how can do this using c program

can you please help em
thank you in advance