MDL-22061 new string_exists() method - this can be used in some corner cases