program string Word Search Java Program To Find Unique Characters In A String 20 Jun, 2021 By using indexOf and lastIndexOf methods. StringBuffer sb1 new StringBuffers1replace. Pin On Java Here str will be …