0

I am using this code:

if (tweet.FullText.ToLower().Contains(hashtag.ToLower()))

To check if the tweet contain a certain hashtag. Is there a better way check it without the ToLower() on both sided? Anyway to make the Contains ignore the lower & upper case differences?

Thx

ILovePizza
  • 141
  • 1
  • 8

0 Answers0