Simple question:
How would I reverse the characters in a string?
For example, "dog" would become "god" and "word" would become "drow".
Thanks
Printable View
Simple question:
How would I reverse the characters in a string?
For example, "dog" would become "god" and "word" would become "drow".
Thanks
Like:
VB Code:
MsgBox StrReverse("dog")
I had a feeling it was simple... heh.Quote:
Originally posted by Bruce Fox
Like:
VB Code:
MsgBox StrReverse("dog")
Thanks for your help.
Syntax:
Quote:
StrReverse Function
Description
Returns a string in which the character order of a specified string is reversed.
Syntax
StrReverse(expression)
The expression argument is the string whose characters are to be reversed. If expression is a zero-length string (""), a zero-length string is returned. If expression is Null, an error occurs.