Hello all again.
I need to parse a big file to find a string.
So I open it for reading (infile) and gets each line and compare it to my string... but it takes a quite long time..
Is there a way to fo it faster?
Is there a function to find a string in a file...
Hi,I suggest that you do this outside Skill. If using XP, try using the findstr command.eg:system("findstr Unison c:\\Cadence\\SPB_16.0\\Update.ini") returns 0 if the text is found, 1 if not.Cheers, Dave
I've found it handy to hand off certain functions such as text parsing to a PERL program from within SKILL and pick up the output from PERL and continue in the SKILL program.
Thanks Dave for your reply. I tried the way you suggest but the problem is that system procedure opens a visible command window under XP each time it is called.
So it's not convenient.
In fact, it seems to be long, so I added a form with informations changind according to what the process does and it now seems faster ;-)