Project

General

Profile

Bug #19601 » 9779.diff

Administrator Admin, 2009-03-02 12:35

View differences:

t3lib/class.t3lib_div.php (working copy)
* @return array Exploded values
*/
public static function trimExplode($delim, $string, $removeEmptyValues = false, $limit = 0) {
$explodedValues = $limit ? explode($delim, $string, $limit) : explode($delim, $string);
$explodedValues = explode($delim, $string);
$result = array_map('trim', $explodedValues);
......
$result = $temp;
}
if ($limit != 0) {
$result = array_slice($result, 0, $limit);
}
return $result;
}
(1-1/3)