Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

Crazy conversion of unique integer to alphabetical string

$
0
0
Hey guys, got another crazy idea to throw at you :)

I have a string that is comprised from two separate unique numbers (Only Numbers, that are random lengths)
Code:

Dim PrePhrase As String = DatabaseModule.UserID + DatabaseModule.ModelID
This is then converted into a character array in which all numbers are separated into linear positions in the array
Code:

Dim charArr() As Char = PrePhrase.ToCharArray()
I now want to be able to create an algorithm that states that each number in the array is converted from it's integer form (e.g. 121) to it's alphabetical form (e.g. onetwoone).

Hope this makes sense and I appreciate any help :)

Viewing all articles
Browse latest Browse all 42220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>