Not YourStringVar.Trim().StartsWith("x") Or (harmonized) Not YourStringVar.Trim().ToUpperStartsWith("X")
Not YourStringVar.Trim().StartsWith("x")
Not YourStringVar.Trim().ToUpperStartsWith("X")