V
Velvet
I'm trying to convert some JavaScript to C# and don't know how to get the
character code of a character in a string. in JavaScript it is as follows:
for( i = 0; i < email.length; i++)
{
var fs = email.charCodeAt(i);
uniemail = uniemail + '&#' + fs + ';';
}
What function would replace the .charCodeAt() function?
Thanks in advance!
Velvet
character code of a character in a string. in JavaScript it is as follows:
for( i = 0; i < email.length; i++)
{
var fs = email.charCodeAt(i);
uniemail = uniemail + '&#' + fs + ';';
}
What function would replace the .charCodeAt() function?
Thanks in advance!
Velvet