//find last space within length $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); Hungarian Brain Council ABOUT US Who we are Member Organisations Industry Partners National Brain Councils Policy & Procedures Hungarian Brain Council Date of creation: 2013 President: Prof. Tamás Freund Co-President: Prof. László Vécsei Relationship to EBC: NBC Website: