String functions StartsWith and EndsWith are case-sensitive in .NET