Solved

Reversing Arabic text

Posted on 2006-06-17
3
266 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 25 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference between sorce folder and folder in eclipise 3 43
SequenceInputStream example 3 22
collection output issue 9 65
program arguments vs VM arguments 4 29
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…
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

733 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