Search found 3 matches

by corny
Tue Jan 13, 2009 3:22 pm
Forum: General
Topic: Splitting lines
Replies: 6
Views: 909

The spare time was found today and I started my first C# project ;-)

The program works great, but probably use of regex could make my code more efficient than now.

However, thanks for your efforts in helping me.
by corny
Tue Jan 13, 2009 7:19 am
Forum: General
Topic: Splitting lines
Replies: 6
Views: 909

Thanks for your answers. If I have some spare time I will put this into a small C program, I think that's easier... Also because all other lines in the file which don't contain these texts should be deleted, so multiple parsing will be necessary. Or not??


Regarding Bob's questions:

Each item ...
by corny
Mon Jan 12, 2009 4:24 pm
Forum: General
Topic: Splitting lines
Replies: 6
Views: 909

Splitting lines

Hi,

I want to split textlines into multiple lines:

SetPlanTijden(fc98, PL1, 80, 80, 3, 3, 0);


The result should be:

TXA PL1 98 = 80
TXB PL1 98 = 80
TXC PL1 98 = 3
TXD PL1 98 = 3
TXE PL1 98 = 0


However, my textfile also contains lines like these:


SetPlanTijden2R(fc45, PL1, 33, 33, 0 ...