No, there isn't but there have been extension methods and other
implementations written to determine the level of similarity between
two given strings.

The most common method is using the Levenshtein algorithm : (Also make
sure to check the Soundex algorithm)

http://www.merriampark.com/ldcsharp.htm

Other useful links:

http://www.atalasoft.com/cs/blogs/stevehawley/archive/2009/01/26/string-similarity-and-extension-methods.aspx
http://dotnetperls.com/Content/Levenshtein-Implementation.aspx
http://en.wikipedia.org/wiki/Category:String_similarity_measures
http://en.wikipedia.org/wiki/Soundex


On Jul 29, 1:06 am, CDZ <[email protected]> wrote:
> Is there a similar function to what PHP has with similar_text() in
> C#?
> (http://us3.php.net/manual/en/function.similar-text.php)

Reply via email to