Not sure in DOS, but in Foxpro take a look at the OCCURS function
>Hi,
>
> I have an text file seperated by tilde "~". I want to count how many Tilde's are in the File. That file is having only one large string. If I use Comp or Findstr commands, it gives me number of lines and that comes out to be 1 or it returns me the complete file itself.
>
>Please guide.
>
>Thanks
>Bharat
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only