s-news
[Top] [All Lists]

reversing the order of strings

To: <s-news@lists.biostat.wustl.edu>
Subject: reversing the order of strings
From: "Khan, Sohail" <khan@cshl.edu>
Date: Fri, 16 Jun 2006 12:29:04 -0400
Thread-index: AcaRYfvRGD1Cla+nR1KOM+nzJRBq6A==
Thread-topic: reversing the order of strings
Dear List,

I have character vector as follows:
"abc"
"ffd"
"sad"
How can I reverse the string so that
"cba"
"ffd"
"das"

Thanks.


Sohail Khan
Scientific Programmer
COLD SPRING HARBOR LABORATORY
Genome Research Center
500 Sunnyside Boulevard
Woodbury, NY 11797
(516)422-4076


<Prev in Thread] Current Thread [Next in Thread>