Feature #19512

Extend t3lib_div::trimExplode to limit the number of elements

Added by Oliver Hader about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-10-27
Due date:
% Done:

0%

PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)

0009656.patch View (1.12 KB) Administrator Admin, 2008-10-27 23:42


Related issues

Related to TYPO3 Core - Feature #19497: Integrate possibility to extend TCEforms palettes easily Closed 2008-10-22

History

#1 Updated by Oliver Hader about 11 years ago

Committed to SVN Trunk (rev. 4356)

Also available in: Atom PDF