This function is designed to reverse the string. It returns a String in which the character order of inString is reversed. If inString is a zero-length string (" "), a zero-length string will be returned.
Parameter
inString - A String whose characters are to be reversed.
Return value
String value.
Examples
strReverse("abc") - Returns cba.strReverse("false") - Returns eslaf.