$a = "fasef faseafas fasecvfeasc agrv aerf"
$b = "nguy cef trhv vsred";
最後から数えて、
一番最初に半角スペースが出る位置から最後まで
文字列を取得する方法を教えてください

$aならaerf
$bならvsred