?
Solved

Reversing Arabic text

Posted on 2006-06-17
3
Medium Priority
?
268 Views
Last Modified: 2010-03-31
Hi All,

I'm stuck up in a problem for past 3 days. I do have a file which contains English as well as Arabic  data. Now the Arabic data has been reversed which I need to set right i.e. instead of appearing from R-L the Arabic data is from L-R.

For example, the arabic text is in double quotes, in brackets ().

I'm finding it quite difficult to write a logic for it.

Can anyone share some inputs or some sample code.

I badly need some help.

Regards

Nikhil Bansal  
0
Comment
Question by:nikhilbansal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 100 total points
ID: 16928120
Use a StringBuilder. If the text is English, call append, if it's Arabic, call insert at offset StringBuilder.length - 1
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question