>>Hi everybody,
>>
>>I'm creating a very simple small Windows Forms application.
>>
>>Right now I'm stuck on this thing:
>>
>>d.FullName.LastIndexOf(DirName)
>>
>>For some reason it returns 0. I want to experiment in the Immediate Window but I could not find it anywhere.
>>
>>Thanks in advance.
>
>Found an answer myself here
http://channel9.msdn.com/ShowPost.aspx?PostID=318519>
>Alt+Ctrl+I worked.
>
>Now back to the LastIndexOf problem.
What is the problem with the LastIndexOf?
Semper ubi sub ubi.