11.07.2014, 23:37
hey all,
i need your help in something i had this: new text[3000]
and that what i write in it...
1\n2\n3\n4\n
that example
and i want when has \n or \r that split it to two strings like
new string1[4],string2[4];
string1 was 1
and string2 was 2 and that with all 3 and 4...
and i need the smartest and the fastest way... and think i have a 100 - 300 lines in the file
thx for who can help me,
sorry for my bad english!!!!!
i need your help in something i had this: new text[3000]
and that what i write in it...
1\n2\n3\n4\n
that example
and i want when has \n or \r that split it to two strings like
new string1[4],string2[4];
string1 was 1
and string2 was 2 and that with all 3 and 4...
and i need the smartest and the fastest way... and think i have a 100 - 300 lines in the file
thx for who can help me,
sorry for my bad english!!!!!