I need to search through a file looking for a certain code (this is a hospital Equipment program) and when that code is found, replace the records after it with differant ones.
an example code would be WC-J-01. when this is found, i need to replace the rest of the record with different data. the file is a text file, and is already open. pleeze help... nobody else in my class has a clue (including the teacher)
[b]Th $pam $0ng[/b]
$pam $pam whoever U may B,
i M the lord of the $pam said he,
and i'll spam U all whoever U may B,
And i'll spam 4 all of my life said he.[/red]