That is a neat function. I'm not sure I will get the syntax right here but couldn't you use this to return the reverse of a string: (I'm also not sure of the array functions)
Code:
array[0] = array;
rArray[0] = array;
int count=0;
for (int i=length(array); i>=0; i--)
{
rArray[count] = array[i];
count++;
}
I could be way off though.