Edit

StringMatcher.FuzzyMatch(String, String) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The FuzzyMatch method performs a fuzzy match 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 query to compare against.

stringToCompare String

The string to compare with the query.

Returns

A MatchResult object that indicates the result of the fuzzy match.