ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/xmlTools/trunk/posUpdate/Util.cs
(Generate patch)

Comparing xmlTools/trunk/posUpdate/Util.cs (file contents):
Revision 718 by s10k, Thu Mar 21 10:53:30 2013 UTC vs.
Revision 742 by s10k, Tue Mar 26 02:30:48 2013 UTC

# Line 136 | Line 136 | namespace xmlTools
136          {
137              return Type.GetType("Mono.Runtime") != null;
138          }
139 +
140 +        public static bool ContainsIgnoreCase(string source, string sToSearch)
141 +        {
142 +            return source.IndexOf(sToSearch, StringComparison.OrdinalIgnoreCase) >= 0;
143 +        }
144      }
145   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)