Applies To: |
|
Summary: |
How do you reverse the order of the characters in a string? |
Solution: |
The attached Cicode function returns a string in which the character order of the specified string is reversed. It uses the StrGetChar() and StrSetChar() functions to read and write characters efficiently. However they only work for the first 128 characters of a string. Longer strings are handled with the slower StrMid() function and string concatenation. |
Keywords: |
Related Links