STR_BEFORE

The string function for finding the portion of one string that occurs before it contains another string. If the first string does not contain the second, an empty string is returned.