view tests/substring.ur @ 1014:ea9f03ac2710

Chars working with SQLite
author Adam Chlipala <adamc@hcoop.net>
date Thu, 22 Oct 2009 17:36:30 -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>