This program will replace a string with another string. It means it will search the string which is to be replaced and it will replace it with the string which is asked to be put at that position.
public static void main(String args )
String org=”This is a test. This is. too.”;