$file=" "
$arr_text = readfile($file)
for $line = 0 to ubound($arr_text)
if $arr_text[$line] = "whatever"
$arr_text[$line] = "something else"
endif
next
$=writefile($file,$arr_text)

BTW.. readfile() and writefile() are UDFs

[ 12. October 2003, 04:42: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask