(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: cocanwiki_strings.ml,v 1.1 2004/10/21 11:42:05 rich Exp $
+ * $Id: cocanwiki_strings.ml,v 1.2 2004/12/01 13:55:55 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
let string_contains substr str =
try String.find str substr; true
- with String.Invalid_string -> false
+ with Invalid_string -> false
let string_of_char = String.make 1