| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| sridevi Beginner
 
 
 Joined: 10 May 2003
 Posts: 6
 Topics: 3
 
 
 | 
			
				|  Posted: Sat May 10, 2003 2:41 am    Post subject: How to set a pointer to a particular position in a  PS file |   |  
				| 
 |  
				| Hi, 
 I have a file and I need to search for a particular string in a file. If the search is  successful then I want to get the line number where the string
 was located. Then I want to delete all the records from that line number.How can I do this .Please guide me. I want to achieve this
 without a sequential read .
 
 Thanks,
 Sridevi
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cogito-Ergo-Sum Advanced
 
 
 Joined: 15 Dec 2002
 Posts: 637
 Topics: 43
 Location: Bengaluru, INDIA
 
 | 
			
				|  Posted: Sat May 10, 2003 3:17 am    Post subject: |   |  
				| 
 |  
				| Replied  here _________________
 ALL opinions are welcome.
 
 Debugging tip:
 When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
 -- Sherlock Holmes.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |