Find The Palindrome Of A Word

Category:
String Manipulation
Type:
Snippets
Difficulty:
Beginning
Author:
Tom Scott

Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET

More information:
This takes a word, e.g. "cheese", and turns it into a palindrome e.g "cheese" = "cheeseeseehc". If the word supplied is already a palindrome, such as Bob, it will alert you to this.

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

Declarations:

Code: