I need to get same matching name records.so that i am using the contains
linq expression.
ex :
a.User.DisplayName.Contains(strDisplayName.Trim())
But if strDisplayname
== "Andrew Wodd", there are more spaces in between Andrew and Woddd, in which case it's getting the result.
How do I get that result if there is more than one space in the name?