参考函数:
substring_index(str, keyword, position) substring_index(被截取字符串,关键字,关键字的位置)
PS:如果关键字不存在,则返回整个字符串。