<?php $str = "foo bar baz"; $str = explode( ' ', $str ); $str = reset( $str ); echo $str;
You have javascript disabled. You will not be able to edit any code.