Java StringBuilder setcharat

StringBuilder str = new StringBuilder("ABCD"); 
// set char at index 2 to 'L' 
str.setCharAt(2, 'L');
Black Batfish