webflight_sf25 Posted February 6, 2004 Posted February 6, 2004 Hi! First of all a very great program.... To the problem: I have a file like whis ******* infile ******* 2003-12-03 14:31 138 413 computorname1.txt 2003-12-03 12:42 63 490 computorname2.txt 2003-12-03 12:31 49 686 compname3.txt ************** I want to get the position of the "space" 413{space}computor... The name is diffrents, not the same form start or end ***** v2.aut ************ StringGetPos, inend, infile, .txt ; SetEnv, instart, %inend% getpos2: EnvSub, instart, 1 ; the end - 1 StringMid, outin, infile, %instart%, 1 IfEqual, outin, {SPACE}, Goto, end Goto, getpos2 end: ***** v2.aut ************
Recommended Posts