KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
Tags (comma-separated)
Save Edits
Cancel