--- xmlTools/trunk/posUpdate/Util.cs 2013/03/21 10:53:30 718 +++ xmlTools/trunk/posUpdate/Util.cs 2013/03/26 02:30:48 742 @@ -136,5 +136,10 @@ namespace xmlTools { return Type.GetType("Mono.Runtime") != null; } + + public static bool ContainsIgnoreCase(string source, string sToSearch) + { + return source.IndexOf(sToSearch, StringComparison.OrdinalIgnoreCase) >= 0; + } } }