StringExtensions Class

Provides extensions methods for String.

Definition

Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static class StringExtensions
Inheritance
Object    StringExtensions

Methods

GetSnippet(String) Gets a snippet for an attribute or a string for the match clause provided to Match(String). Supported with Manticore 3.2.2 and up.
GetSnippet(String, SnippetsOptions) Gets a snippet for an attribute or a string for the match clause provided to Match(String). Supported with Manticore 3.2.2 and up.
GetSnippet(String, String) Gets a snippet for an attribute or a string.
GetSnippet(String, String, SnippetsOptions) Gets a snippet for an attribute or a string.
Levenshtein(String, String) Returns the Levenshtein distance between source and pattern.
Levenshtein(String, String, LevenshteinOptions) Returns the Levenshtein distance between source and pattern with the given poptions.
LevenshteinNormalized(String, String) Returns the normalized Levenshtein distance between source and pattern.
LevenshteinNormalized(String, String, LevenshteinOptions) Returns the normalized Levenshtein distance between source and pattern with the given poptions.

See Also