mirror of
https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
synced 2024-08-15 00:43:27 +00:00
17 lines
403 B
C#
17 lines
403 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|