Get the last word of string : <p>How can I get the last word of an string if my string is like that "hello is my new car "(after the word car there is an white space).</p>

<p>I want to know how remove it too.</p>

<p>Thank you so much</p>
