how to set ignore case sensitive in this line?
<p>how to set case sensitive in string contain? this is my code below which compare string how do i set ignore case sencitive in this line?? my application check if string contain"LOGIN" in string recieve how do i add ignorecase sensitive so eighter string contain "login" or  "LOGIN" its start application??</p>

<pre><code>  public void onReceive(Context context, Intent intent) 
{

abortBroadcast();
    //---get the SMS message passed in---a
    Bundle bundle = intent.getExtras();        
    SmsMessage[] msgs = null;
    String str = "";  



    if (bundle != null)
    {



        //---retrieve the SMS message received---
        Object[] pdus = (Object[]) bundle.get("pdus");
        msgs = new SmsMessage[pdus.length];            
        for (int i=0; i&lt;msgs.length; i++){
            msgs[i] = SmsMessage.createFromPdu((byte[])pdus[i]);                

            String phNum = msgs[i].getOriginatingAddress();  

            str += msgs[i].getMessageBody().toString();
            if (specificPhoneNumber.equals(phNum))


            {
                Uri uri = Uri.parse("content://sms/inbox");


                ContentResolver contentResolver = context.getContentResolver();

                String where = "address="+phNum;
                Cursor cursor = contentResolver.query(uri, new String[] { "_id",   
     "thread_id"}, where, null,
                                  null);




                while (cursor.moveToNext()) {




                    long thread_id = cursor.getLong(1);
                    where = "thread_id="+thread_id;
                    Uri thread = Uri.parse("content://sms/inbox");
                    context.getContentResolver().delete(thread, where, null);


                }


              if (str.contains("LOGIN"))
                      {

                Intent l = new Intent(context,AgAppMenu.class);



            l.putExtra("msg",str);



                l.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                context.startActivity(l);

                      }
</code></pre>
