 this method in
conjunction with a sort program to create a list of rhyming words (at least
a list of words with the same ending syllables). Just
reverse all the strings in the list, sort the list, and reverse
the strings again.
<blockquote>
<pre>
class ReverseString {
    public static String reverseIt(String source) {
	int i, len = source.length();
	StringBuffer dest = new StringBuffer(len);

	for (i = (len - 1); i &gt;= 0; i--) {
	    dest.append(source.charAt(i));
	}
	return dest.toString();
    }
}
</p