summaryrefslogtreecommitdiff
path: root/tests/substring.ur
blob: bc7b5068e7d27df3115a28cc4d0ca502b8e22412 (plain)
1
2
3
4
5
fun main () : transaction page = return <xml>
  {[case String.split "abc{" #"{" of
        None => "!"
      | Some (pre, post) => pre ^ post]}
</xml>