Java tutorial
public class Main { public static void main(String args[]) { String str = "This is a test."; System.out.println(str.replace('T', 'A')); } } //Ahis is a test.