[REBOL] Re: Parsing
From: al:bri:xtra at: 25-Jan-2001 17:45
Hi, Paul, you wrote:
> You example didn't work in my case. I am trying to take a and obtain the
rest of the string starting at index 4.
Have you tried:
>> copy/part at "This part" 6 4
> Problem is that Parse returns a block.
It needs to as parse turns one thing into many things.
> And in your example it still produced the same problem of condensing the
string so that a string of "This is a test" turns out as "Thisisatest"
That's what rejoin does. Try 'reform to get a space in between. Like:
>> reform parse "axstringxwithxspaces" "x"
== "a string with spaces"
Can you give an example of input and output? I'm sure I'm still
ICQ: 26227169 http://members.nbci.com/AndrewMartin/