Feature #19512

Extend t3lib_div::trimExplode to limit the number of elements

Added by Oliver Hader over 12 years ago. Updated almost 11 years ago.

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

0%

Estimated time:
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)


Files

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

Related issues

Related to TYPO3 Core - Feature #19497: Integrate possibility to extend TCEforms palettes easilyClosedOliver Hader2008-10-22

Actions
#1

Updated by Oliver Hader over 12 years ago

Committed to SVN Trunk (rev. 4356)

Also available in: Atom PDF