@stdlib/string-substring-before

Return the part of a string before a specified substring.

Browse on unpkg