//find last space within length $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); EBC 2nd Board Meeting EVENTS News Events Projects & Initiatives EBC 2nd Board Meeting26-05-2016@ Brussels, BE Share this article on twitter