INSERT(str,pos,len,newstr): Replaces the string str with the substring beginning at position pos and len characters long replaced by the string newstr : INSERT « String Functions « MySQL Tutorial
23. 16. 1. INSERT(str,pos,len,newstr): Replaces the string str with the substring beginning at position pos and len characters long replaced by the string newstr
Returns the original string if pos is not within the length of the string.
Replaces the rest of the string from position pos if len is not within the length of the rest of the string.