view tests/substring.ur @ 888:ba3569f4fe89

Fix month off-by-one for MySQL timestamps
author Adam Chlipala <adamc@hcoop.net>
date Fri, 17 Jul 2009 17:14:23 -0400
parents 20fe00fd81da
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  {[case String.split "abc{" #"{" of
        None => "!"
      | Some (pre, post) => pre ^ post]}
</xml>