# GH_StringMatcher class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_StringMatcher
```

Utility class for finding matches in a database of Strings.

## Constructors

- [GH_StringMatcher](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-stringmatcher/ctor.md)

## Methods

- [ComputeWeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-stringmatcher/computeweight.md): (2 overloads, static) Compute the weight of the match. Utility function that performs specified match types until a match is found.
- [LevenshteinDistance](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-stringmatcher/levenshteindistance.md): (static) Bottom up implementation of the Levenshtein Distance algorithm. see: http://en.wikipedia.org/wiki/Levenshtein_distance for further details.
