Ignore:
Timestamp:
Mar 26, 2013, 3:30:48 AM (12 years ago)
Author:
s10k
Message:

0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xmlTools/trunk/posUpdate/Util.cs

    r718 r742  
    137137            return Type.GetType("Mono.Runtime") != null;
    138138        }
     139
     140        public static bool ContainsIgnoreCase(string source, string sToSearch)
     141        {
     142            return source.IndexOf(sToSearch, StringComparison.OrdinalIgnoreCase) >= 0;
     143        }
    139144    }
    140145}
Note: See TracChangeset for help on using the changeset viewer.