By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,337 Members | 1,323 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,337 IT Pros & Developers. It's quick & easy.

key translations

P: n/a
in win32 we had chr() and asc()
how do i translate key constants
Example
string mystring = "abc (embedded tab) efg";
Console.WriteLine("tab is at {0},mystring.IndexOf(?);

Where can i find information on key constants and translating them....

thanks
dave
Feb 4 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"dave" <dv*****@sbcglobal.netwrote in message
news:9d*******************@newssvr13.news.prodigy. net...
Where can i find information on key constants and translating them....
Do you mean this...?
http://www.jaggersoft.com/csharp_standard/9.4.4.4.htm
Feb 4 '07 #2

P: n/a
Im not Sure..but thats the right idea

i want to put a tab character in a string
then find its location inside the string

dave

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:uY**************@TK2MSFTNGP05.phx.gbl...
"dave" <dv*****@sbcglobal.netwrote in message
news:9d*******************@newssvr13.news.prodigy. net...
>Where can i find information on key constants and translating them....

Do you mean this...?
http://www.jaggersoft.com/csharp_standard/9.4.4.4.htm

Feb 4 '07 #3

P: n/a
"dave" <dv*****@sbcglobal.netwrote in message
news:iI*******************@newssvr13.news.prodigy. net...
Im not Sure..but thats the right idea

i want to put a tab character in a string
then find its location inside the string
string strTest = "abcdefg\thijklm";

int intTabPos = strTest.IndexOf("\t");
Feb 4 '07 #4

P: n/a
thanks bunches mark..
found it and that site works for this also
thanks again
dave

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
"dave" <dv*****@sbcglobal.netwrote in message
news:iI*******************@newssvr13.news.prodigy. net...
>Im not Sure..but thats the right idea

i want to put a tab character in a string
then find its location inside the string

string strTest = "abcdefg\thijklm";

int intTabPos = strTest.IndexOf("\t");


Feb 4 '07 #5

P: n/a
the error.stacktrace
is there any embedded control characters to split the
stacktrace string....i dont see any where to identify
a split postion

dave

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
"dave" <dv*****@sbcglobal.netwrote in message
news:iI*******************@newssvr13.news.prodigy. net...
>Im not Sure..but thats the right idea

i want to put a tab character in a string
then find its location inside the string

string strTest = "abcdefg\thijklm";

int intTabPos = strTest.IndexOf("\t");


Feb 4 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.