String compare
- From: Muhs <shumyl21@xxxxxxxxx>
- Date: Wed, 12 Mar 2008 09:20:41 -0700 (PDT)
Hi !!
i want to compare two strings and return the difference
For example, i have two strings,
string str1="then";
string str2="than";
it compared the two strings and returns 1, as only one character is
different (a and e).
Is there a function in c# that can do this??
.
- Follow-Ups:
- Re: String compare
- From: Martin Bonner
- Re: String compare
- From: rossum
- Re: String compare
- From: Jon Skeet [C# MVP]
- Re: String compare
- Prev by Date: Re: Casting
- Next by Date: cast of arrays with a given type
- Previous by thread: Looping through a Form's typed dataset objects
- Next by thread: Re: String compare
- Index(es):