mirror of
https://github.com/MobileTooling/Ffu2Vhdx.git
synced 2026-07-27 12:48:20 -07:00
28 lines
804 B
C#
28 lines
804 B
C#
using System;
|
|
|
|
namespace Microsoft.Composition.ToolBox
|
|
{
|
|
public static class StringExtensions
|
|
{
|
|
public static bool EqualsIgnoreCase(this string A_0, string A_1)
|
|
{
|
|
return string.Equals(A_0, A_1, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
|
|
public static bool StartsWithIgnoreCase(this string A_0, string A_1)
|
|
{
|
|
return A_0.StartsWith(A_1, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
|
|
public static int IndexOfIgnoreCase(this string A_0, string A_1)
|
|
{
|
|
return A_0.IndexOf(A_1, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
|
|
public static int LastIndexOfIgnoreCase(this string A_0, string A_1)
|
|
{
|
|
return A_0.LastIndexOf(A_1, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
}
|
|
}
|