Feature #2883: improve t3lib_div::trimExplode()