I keep getting this question on beginner study sheets...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: z_learning_tester (someone_at_microsoft.com)
Date: 06/19/04


Date: Sat, 19 Jun 2004 21:34:02 GMT

But I can't seem to find the answer.
The question is how do you reverse the words in a string?
Or how do you reverse the numbers listed in a string?

The example is usually something like:
Turn this string "1,2,3,4,..."
Into "...4,3,2,1"

This one seems hard enough let alone trying to turn a string of
space-seperated words around(is that even possible? a trick question
perhaps?)

Again, any help here much appreciated.
Thanks!

Jeff


Quantcast