Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > sorting the cha...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 5415 of 6022
Post > Topic >>

sorting the chars in a string

by elwood <epolomsk@[EMAIL PROTECTED] > Feb 11, 2008 at 06:39 AM

I've been trying to think of a simple way to alphabetically sort an
individual string

Say I have the string x="abdcf"
Is there a way to sort it and return a new string which is in correct
alphabetical order,
and/or reverse alphabetical order.

Maybe its obvious, but I havent worked with strings too much in IDL
and I cant seem to find
a way to do this (strsplit and stregex somehow??)

Thanks,
Elisha
 




 7 Posts in Topic:
sorting the chars in a string
elwood <epolomsk@[EMAI  2008-02-11 06:39:53 
Re: sorting the chars in a string
Lasse Clausen <lasse@[  2008-02-11 07:02:34 
Re: sorting the chars in a string
elwood <epolomsk@[EMAI  2008-02-11 07:36:17 
Re: sorting the chars in a string
=?ISO-8859-2?Q?F=D6LDY_La  2008-02-11 16:37:13 
Re: sorting the chars in a string
elwood <epolomsk@[EMAI  2008-02-11 07:42:06 
Re: sorting the chars in a string
elwood <epolomsk@[EMAI  2008-02-11 07:36:32 
Re: sorting the chars in a string
Spon <christoph.blau@[  2008-02-11 08:23:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 22:38:05 CDT 2008.