rimworld-animations-patch_m.../Source/Scripts/Extensions/StringExtension.cs

17 lines
403 B
C#
Raw Normal View History

2023-02-04 07:13:57 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rimworld_Animations_Patch
{
public static class StringExtension
{
public static bool Contains(this string fullString, string subString, StringComparison comparer)
{
return fullString?.IndexOf(subString, comparer) >= 0;
}
}
}