Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Merging cells from two lines

From: john:thousand-hills at: 26-Aug-2001 8:04

In reading and displaying lines of data from a text array with this script: data: read/lines %route.txt d7: pick data 7 s7: pick data 7 replace/all s7 tab "</CENTER></TD><TD><CENTER>" s7: rejoin [ "<tr bordercolor=lightblue border=1 bgcolor=white><TD> <CENTER>" s7 "</CENTER></TD></tr>" ] either d7 [ print s7 ] [ "" ] How can I turn the printed elements in that line to reflect a change from " 04:30 " to read " 04:30AM " or " 16:30 " to read " 04:30PM " ? ..JOHN