Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (revision 4366) +++ t3lib/class.t3lib_div.php (working copy) @@ -1564,10 +1564,14 @@ * * @param string Delimiter string to explode with * @param string The string to explode + * @param boolean If set, all empty values (='') will NOT be set in output + * @param integer If positive, the result will contain a maximum of limit elements, + * if negative, all components except the last -limit are returned, + * if zero (default), the result is not limited at all * @return array Exploded values, all converted to integers */ - public static function intExplode($delim, $string) { - $temp = explode($delim,$string); + public static function intExplode($delim, $string, $onlyNonEmptyValues = false, $limit = 0) { + $temp = self::trimExplode($delim, $string, $onlyNonEmptyValues, $limit); foreach ($temp as &$val) { $val = intval($val); }