Ho fatto con :
substring_index()

grazie 1000