Edit

StringMatcher.FuzzySearch(String, String) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The FuzzySearch method performs a fuzzy search between two strings to determine their similarity. It compares the query parameter with the stringToCompare parameter and returns a MatchResult object that indicates the result of the comparison.

Parameters

query String

The string to be compared against the stringToCompare string.

stringToCompare String

The string to be compared with the query string.

Returns

A MatchResult object that contains the result of the fuzzy search.