Aug 15, 2002 #1 Prusso Programmer Jul 5, 2002 13 AR How can I seek and repleace a text in a ascii file
Aug 15, 2002 #2 ramani Programmer Mar 15, 2001 4,336 AE HI cSearched = FILETOSTR(cFileName) STRTRAN(cSearched,cExpressionSought,cReplacement) Hope this helps you ramani (Subramanian.G),FoxAcc, ramani_g@yahoo.com Upvote 0 Downvote
HI cSearched = FILETOSTR(cFileName) STRTRAN(cSearched,cExpressionSought,cReplacement) Hope this helps you ramani (Subramanian.G),FoxAcc, ramani_g@yahoo.com
Aug 15, 2002 #3 rgbean Programmer Nov 9, 2000 5,707 US Ramani You've been away too long, you forgot the last step, to write the changes out! < g > cNewStr=STRTRAN(cSearched,cExpressionSought,cReplacement) = STRTOFILE(cNewStr, cFileName) Rick Upvote 0 Downvote
Ramani You've been away too long, you forgot the last step, to write the changes out! < g > cNewStr=STRTRAN(cSearched,cExpressionSought,cReplacement) = STRTOFILE(cNewStr, cFileName) Rick