(d9829ac) v0.9.4.0
This commit is contained in:
@@ -23,6 +23,11 @@ namespace Barotrauma
|
||||
}
|
||||
return new string(newString.SelectMany(str => str.ToCharArray()).ToArray());
|
||||
}
|
||||
|
||||
public static string Remove(this string s, string substring)
|
||||
{
|
||||
return s.Replace(substring, string.Empty);
|
||||
}
|
||||
|
||||
public static string Remove(this string s, Func<char, bool> predicate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user