[TYPO3-core] RFC #10511: simplify and speed up t3lib_div::trimExplode()
Steffen Kamper
info at sk-typo3.de
Sat Feb 21 16:24:05 CET 2009
Hi Ingo,
+1 by testing and reading.
Though there is an issue remaining with limit, but it gives wrong result
also with existing function
$a = 's ,, d ' . chr(10) . chr(9).', d,eee';
$content .= t3lib_div::view_array(t3lib_div::trimExplode(',', $a, true, 3));
Limit is set to 3, but returning array contains only 2 elements, line
break is not removed.
vg Steffen
More information about the TYPO3-team-core
mailing list