One is an index and one is an offset which are two different things. Think of the offset of moving the caret over 1 char at a time. If you move 8 times you end up on the a.
+++ Rick ---
>
>string str = "This is another substring test";
> retString = str.Substring(8, 1);
>
>will return "a"
>That makes no sense to me but I program accordingly.
>The great Scottish empiricist, David Hume, when asked why he did things that worked practically- but couldn't be logically proven= said:
>"It pains me too much to do otherwise."
>
>
>
>
>
>
>
>
>>Sorry, couldn't resist. All of these things are man-made and like any other rule or law devised by hopefully clever people, we just have to live with it. ;-)
>>
>>Meanwhile be thankful you're not enjoying the wonderful byzantine pleasures of C++ strings that are arrays. ;-)