S
S
I need to strip some ASCII from a string. I am used to the VB ASC and CHR
methods but not sure in C#,
Any help?
methods but not sure in C#,
Any help?
I need to strip some ASCII from a string. I am used to the VB ASC and
CHR methods but not sure in C#,
Any help?
string s = "ABC";
char[] cArray = s.ToCharArray();
Console.WriteLine("cArray is {0} characters.", cArray.Length);
foreach (char c in cArray)
{
Console.WriteLine("Char code is:"+ (int)c);
}
Yes thanks. The Ascii example did not survive the send (too fast) key.
Cheers!
--wjs
*geeee*
I know that problem. happens to me about ten times a day![]()
S said:I need to strip some ASCII from a string. I am used to the VB ASC and CHR
methods but not sure in C#,