How to Reverse a String in Java Micro Edition

Bismillah.

reversedString = new StringBuffer(originalString).reverse().toString();

Any better idea is always welcomed.

Tidak ada komentar:

Posting Komentar

speak now or forever hold your peace

About Me