Related Post: Java Program To Find Consecutive Alphabets In A String Java Program To Find The Longest Repeating Sequence In A String