title: how to remove character from edittext?
body: <p>I want to know is there any method by which i can remove the specific character from the <code>EditText</code>. I want to remove charter from <code>EditText</code> by specifying position in edit text
  is there something like <code>removeAt()</code> for <code>EditText</code>?</p>
  
  <pre><code>    public class MainActivity extends Activity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          final Button b1=(Button)findViewById(R.id.button1);
          final EditText ed1=(EditText)findViewById(R.id.editText1);
          b1.setOnClickListener(new View.OnClickListener() {
  
              public void onClick(View arg0) {
                  // TODO Auto-generated method stub
  
               //i want something like this
                      ed1.removeAt(5);
              }
          });
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          getMenuInflater().inflate(R.menu.activity_main, menu);
          return true;
      }
  
  
  }
  </code></pre>
  
  <hr>
  
  <p><strong>EXTRA INFORMATION</strong></p>
  
  <p>the main problem is i want to make text bold inside edittext but not all the text. The text that is typed after setting bold button on(bold is my toggle button).
  ok here is the code</p>
  
  <pre><code>     ed1.setOnKeyListener(new OnKeyListener() {
  
          public boolean onKey(View v, int keyCode, KeyEvent event) {
              // TODO Auto-generated method stub
              int i = 0;
  
              switch(event.getAction())
              {
              case KeyEvent.ACTION_UP:
                      if(bold.isChecked())
                      {
                           i=ed1.getSelectionStart();
  
                           ed1.append(Html.fromHtml("&lt;b&gt;"+ed1.getText().toString().charAt(i-1)+"&lt;/b&gt;"));
  
                      }
                      return true;
  
              }
              return false;
          }
      });
  </code></pre>
  
  <p>the problem is that i get double character's one is normal character and then again the bold one so i want to remove that normal characters by specifying there position</p>