10 lines
325 B
C#
Executable File
10 lines
325 B
C#
Executable File
using System.Globalization;
|
|
|
|
namespace NoSoliciting.Lite {
|
|
internal static class Extensions {
|
|
internal static bool ContainsIgnoreCase(this string haystack, string needle) {
|
|
return CultureInfo.InvariantCulture.CompareInfo.IndexOf(haystack, needle, CompareOptions.IgnoreCase) >= 0;
|
|
}
|
|
}
|
|
}
|