Version 3.3.1.2

FuzzySearch class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public static class FuzzySearch
Compare strings and produce a distance score between them.
Inheritance
  • System.Object
  • FuzzySearch

Methods

Contains(String, String)
public static bool Contains(string searchTerm, string text)
Parameters
System.String searchTerm

System.String text

Returns
System.Boolean

Contains(String, String, out Int32)
public static bool Contains(string searchTerm, string text, out int score)
Parameters
System.String searchTerm

System.String text

System.Int32 score

Returns
System.Boolean