how to get string from sms
<p>i need some help.
how to get text from sms, I will receive sms like this in my device "GPS location: <a href="http://maps.google.com/maps?q=-6.97425,107.63164" rel="nofollow">http://maps.google.com/maps?q=-6.97425,107.63164</a>" and if it start with "GPS location:" then i want to retrieve the link to my application, but I have no idea how to do this.</p>

<pre><code>for (SmsMessage message : msgs) {
  String msg = message.getMessageBody();
   if (msg.startsWith("GPS location")){
      //how to get the link???
   }
</code></pre>

<p>pardon my english, and thanks for the help guys.         </p>
