This is a very "newbie"-question, excuse me

I have the following problem :

I have to switch elements in a string (defined as a table),
so that the last will become the second last en the second last the last.
(for instance : HOUSE will become HOUES).
I really don't know how to do this, can anyone help me?

Thanx in advance