Version 2.1.0.0

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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.