In a string,
$string_example = "cats, dogs, horses"
I'd like to get
$string_truncated = "cat, dog, hor"
i.e. getting the first three characters of each comma separated value
Later, I will use this in an SQL LIKE statement to restrict search results that match at least the first three characters given (I can't do FULL TEXT because I want to keep my foreign key constraints and can't give up my DB engine)