Store Combination Of Numeric and Non-Numeric

skea

Registered User.
Local time
Today, 14:15
Joined
Dec 21, 2004
Messages
342
I have a constant that contains both numeric and non-numeric values, i would like to store it as a string so that after, i retrieve it as the orignal constant. For example.
PX-MN3LT45364 to be stored as GH-GJHJLKJHWE(as a simple way of encryption) and later get retrieved as PX-MN3LT45364

I know how to use the combination of Chr,Asc and CInt to change string values to numbers and vise-versa but i cant figure out how i can do it to a combination of both.
Any Idea will be highly appreciated.
 
PX-MN3LT45364, even if it contains numbers, is still string data. You treat the whole string character by character as string data. Or maybe I don't understand the question fully.
 

Users who are viewing this thread

Back
Top Bottom