This function returns the reverse of the string supplied:
make function backword of type st (st str) pack(reverse(explode(str)))