Hi,
try this one then:

file: read/lines %file
foreach line file [parse line [any [to {"} mark: (remove/part mark 1)]]]

>> file: read/lines %file
== [{2;"615165151";"L";20.15;9999456} {2;"615165151";"L";20.15;9999456}
{2;"615165151";"L";20
.15;9999456} {2;"615165151";"L";20.15;...
>> foreach line file [parse line [any [to {"} mark: (remove/part mark 1)]]]
== false
>> print file
2;615165151;L;20.15;9999456 2;615165151;L;20.15;9999456
2;615165151;L;20.15;9999456 2;6151651
51;L;20.15;9999456 2;615165151;L;20.15;9999456 2;615165151;L;20.15;9999456
>>

/Regards Stefan Falk

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: den 16 augusti 2000 15:12
To: [EMAIL PROTECTED]
Subject: [REBOL] AW: Search for " in Strings Re:



Hi Brett,

that was not was i was searching for. Perhaps i should be more detailed.

i got a file with lines like this:

2;"615165151";"L";20.15;9999456

what i need is a way to get rid of the quotes including informations. the
result should look like this

2;615165151;L;20.15;9999456

Hope you can help.


Thorsten


-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 16. August 2000 14:24
An: [EMAIL PROTECTED]
Betreff: [REBOL] Search for " in Strings Re:


The following is a literal string that contains two double quotes

    >> print {He said "hi".}
    He said "hi".

HTH
Brett.

Reply via email to