@stdlib/string-substring-before-last (npm): Return the part of a string before the last occurrence of a specified substring.
Keywords: stdlib|stdstring|utilities|utility|utils|util|string|str|check|search|substring|substr|before|last|match