I read my txt-File into and buffer (with the kernel32.dll like here https://www.mql5.com/en/articles/1540) .
Now I extract to word "tuesday" as the first word in the second line:
Str = StringSubstr(buffer_read,pos_start,pos_end-pos_start);
pos_start = pos_end+1;
if (Str == "tuesday")
on the Print-function I see that Str = tuesday, but the if-loop isn't true!
When I wrote everything in ONE line, it works.
So, how could I delete the new line before "tuesday" (even if I can't see it)?