Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Detecting Strings LtoR or RtoL

807605Oct 4 2007
Hi All

I have a String that may or may not be in Arabic or some other Right to Left language. I do not what this string will be at compile time.

I need a reliable way of detecting if this string is Left to Right or Right to Left at run time so i can change my layout to suit.

Anyone have any ideas or sample code?

Puggs
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2007
Added on Oct 4 2007
0 comments
209 views