Issue Feature Closed

#19512Extend t3lib_div::trimExplode to limit the number of elements

Oliver Hader 10/27/08, 23:37 updated 08/06/10, 13:21

Description

With t3lib_div::trimExplode it’s not possible to limit the number of elements that are returned.

The solution is to introduce a new argument $limit and to define trimExplode to behave similar to PHP’s explode function.

(issue imported from #M9656)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.