OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class StringHelper

Inheritance
System.Object
StringHelper
Namespace: OpenMod.Core.Helpers
Assembly: OpenMod.Core.dll
Syntax
public static class StringHelper : object

Methods

| Improve this Doc View Source

AllIndexesOf(String, String, StringComparison)

Declaration
public static IEnumerable<int> AllIndexesOf(this string str, string value, StringComparison stringComparison = null)
Parameters
Type Name Description
System.String str
System.String value
StringComparison stringComparison
Returns
Type Description
IEnumerable<System.Int32>
| Improve this Doc View Source

LevenshteinDistance(String, String)

Declaration
public static int LevenshteinDistance(string a, string b)
Parameters
Type Name Description
System.String a
System.String b
Returns
Type Description
System.Int32