Reverse a Given String

Category:
String Manipulation
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This function is a quick and simple string reversing feature. Pass it any String, and it converts the characters from unicode to the default code page of the system, and loops through them in reverse order building your return value.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: