Method FindSimilarKey
FindSimilarKey(string, out int)
Returns the SharedTableData.SharedTableEntry that is the most similar to the text. Uses the Levenshtein distance method.
Declaration
[Obsolete("FindSimilarKey will be removed in the future, please use Unity Search. See TableEntrySearchData class for further details.")]
public SharedTableData.SharedTableEntry FindSimilarKey(string text, out int distance)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to match against. |
| int | distance | The number of edits needed to turn |
Returns
| Type | Description |
|---|---|
| SharedTableData.SharedTableEntry | The SharedTableData.SharedTableEntry that is the most similar to the text or null if one could not be found. |