[REBOL] Simple question
From: mat:eurogamer at: 25-Nov-2000 16:48
Guys,
I've been trying to get my head around parse, trying to come up with a
way to split a string (a buffer from a port actually) into a block by
newlines.
You can't do IO stuff from port with /lines refinement, so I need a
way to go parsing stuff back from a server from the buffer.
I can rip out the first line easily enough with;
parse test [copy freshline to newline]
But how could I make a block with ALL the lines in the buffer?
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com