$myvalue = 'Test some more';
$arr = explode(' ',trim($myvalue));
echo $arr[0]; // will print Test
I use the code above to echo the first word from a sentence. Now I would like to also echo the first two characters from the second word. So that the above echo would result in:
Test so
1 Answer