//find last space within length $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); Expert Platform on Mental Health EVENTS News Events Projects & Initiatives Expert Platform on Mental Health01-03-2016@ Brussels, Belgium Share this article on twitter