<?php $str = "hello this is a space"; var_export( preg_split('/.*\S\K +/', $str) );
You have javascript disabled. You will not be able to edit any code.