oh wow - I’ve had this discussion with Jarrett a couple of times in the last few years, and he mentioned that he always uses == for strings and it always worked!
It’s been one of those issues that has haunted me for years (sometimes it seemed to work, sometimes it didn’t) - good to know…