title: How to do a case-insensitive string replacement
body: <p>Hi friends I'm creating an app.<br/>
  I want to find a particular word in an <code>ArrayList</code> and I have to replace<br/>
  it with another word. I used the code below. It works case sensitive,<br/>
  but I'd like to get it working case insensitive.</p>
  
  <pre><code>   FillintheBlank.class: 
  
            public class FillintheBlank extends Activity {
          static ArrayList&lt;String&gt; multiword=new ArrayList&lt;String&gt;();
  
   static ArrayList&lt;String&gt; multimeaning=new ArrayList&lt;String&gt;();
  
  
  public void setNoTitle() {
      requestWindowFeature(Window.FEATURE_NO_TITLE);
  } 
   float screenHeight,screenWidth,screendensity;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
       setNoTitle();
       getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
       DisplayMetrics displaymetrics = new DisplayMetrics();
       getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
       screenHeight = displaymetrics.heightPixels;
       screenWidth = displaymetrics.widthPixels;
       screendensity = displaymetrics.densityDpi;
      setContentView(R.layout.fillinblanknew);
  
               multiword.add("radha");
               multiword.add("RAdHA");
                multiword.add("latha");
                  multiword.add("mammu");
  
                s.o.p(""+multiword);
              // output:radha,RADHA,latha,mamu
  
            multimeaning.add(multiword.getString().replace(radha,"sai"));
          s.o.p(""+multimeaning);
       // output: sai,RADHA,latha,mamu
  
   }
    } 
  </code></pre>
  
  <p>For example: I need to replace 'radha' with 'sai' no matter what the case of the letters in 'radha' are.</p>