erase particular char fron string code example
Example 1: remove charachter from string
StringBuilder sb = new StringBuilder(inputString);
Example 2: remove charachter from string
if(String.charAt(1) == String.charAt(2){
//I want to remove the individual character at index 2.
}