I have a delimited string which I need to truncate.

$string = "aaa, bbb, ccc, ddd, eee, fff";

I would like to cut string before the third comma, to get the first three values.

aaa, bbb, ccc
Edit
Report