0

Using the Where filter with Contacts, is it possible to make the term Name.Contains("Peter") not case sensitive?

exception
  • 569
  • 7
  • 20

1 Answers1

3

You can use ToLower() to achieve this - make your where clause something like:

Name.ToLower().Contains("peter")
rustyskates
  • 856
  • 4
  • 10
  • 1
    Took me a while, but I also found `ToLower()` - shame the API docs don't tell us more about the available methods. Thanks! – exception Feb 18 '20 at 00:13