Hi Stefan,
I believe this will do what you are after..
data: read/lines %file-in.txt
foreach line data [replace line "^-" " "]
write/lines %file-out.txt data
Cheers,
Allen K
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 04, 2000 8:04 PM
Subject: [REBOL] Simple textfile handling...?
> Hi,
> I want Rebol to read a text file with the following format.
>
> Name Name Phone
> Name Name Phone
>
>
> ... ie. a tab separating first name, last name and phone number.
>
> Now I want Rebol to convert it to:
>
> Name Name Phone
> Name Name Phone
>
> .. ie. Remove the first tab in every line and replace it with a single
> space, but leave the second as it is. Any ideas of how to achieve this?
>
> file://Best Regards Stefan Falk
>
>