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

[REBOL] Re: Displaying AM / PM times

From: john::thousand-hills::net at: 26-Aug-2001 8:48

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