G
Gary
Hello,
I collect a string on my ASP.NET page via Request.QueryString.
For Example:
http://www.site.com/index.aspx?Outlook=BAD
I now want to take this string and convert it to a NUMERICAL string based on
the position within the alphabet.n Spaces OR Dashes between each character
is important
So,
BAD becomes 2-1-4
ADD becomes 1-4-4
AZA becomes 1-26-1
ABC becomes 1-2-3
XYZ becomes 24-25-26
Anyone got any ideas on how best to achieve this? The string needs to be
generated before page load or as the first item on page load.
Thanks for any help offered,
Regards,
Gary.
I collect a string on my ASP.NET page via Request.QueryString.
For Example:
http://www.site.com/index.aspx?Outlook=BAD
I now want to take this string and convert it to a NUMERICAL string based on
the position within the alphabet.n Spaces OR Dashes between each character
is important
So,
BAD becomes 2-1-4
ADD becomes 1-4-4
AZA becomes 1-26-1
ABC becomes 1-2-3
XYZ becomes 24-25-26
Anyone got any ideas on how best to achieve this? The string needs to be
generated before page load or as the first item on page load.
Thanks for any help offered,
Regards,
Gary.