Normally the for-loop does not care in which way you modify the index, so you should be able to use something like
string firstAtLast = "otatop";
string reverse = "";
for(int i=string.length-1; i => 0; i--)
{
reverse += firstAtLast.At(i)
}
Details for i and the string manipulation methods depend on your language of course.