SQL語句中查找字符的位置

語法以下:    instr( string1, string2, start_position,nth_appearance ) html string1 源字符串,要在此字符串中查找。 string2 要在string1中查找的字符串 。 start_position 表明string1 的哪一個位置開始查找。此參數可選,若是省略默認爲1. 字符串索引從1開始。若是此參數爲正,從左到右開始檢索
相關文章
相關標籤/搜索