[REBOL] Re: Printing a line of data
From: cyphre::volny::cz at: 24-Aug-2001 14:12
Hi John,
here is my quick(15 minutes) and ugly(a bit code confusion (-: ) solution
but maybe you will find it useful:
WATCH OUT LINE BREAKS!!!
-----------snip--------------------
test: {9:54 9:57 10:03
10:06 10:12 10:20 10:23 10:27
10:34 10:43 10:48}
parse/all test [some [eol: "^/" (remove eol insert eol " eol ") skip | skip]
to end]
parse to-block test [some [result: time! (insert result <td> insert skip
result 2 </td>) 2 skip | result: 'eol (remove/part result 3 insert result
[</tr><tr>]) | skip] to end]
insert head result <tr>
probe to-string head result
------------------snip----------------
have fun!
Cyphre