Heres a function that will return the ascii values of each character in a
string, seperated by comma's
Adpapt at will:
private string ToASCIIIntInString(string instr)
{
char[] chars = instr.ToCharArray();
string[] asciis = new string[chars.Length];
int charCount = chars.Length;
for(int x;x<charCount;x++)
{
asciis[x] = ((int)chars[x]).ToString();
}
return string.Join(asciis, ", ");
}
HTH
Ciaran O'Donnell