key translations

  • Thread starter Thread starter dave
  • Start date Start date
D

dave

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
 
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
 
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");
 
thanks bunches mark..
found it and that site works for this also
thanks again
dave
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top