>>>"We are number zero!!!"
>>>I've never seen that, have you?
>
>Aren't you a NET dude: what's the first element in a VB.NET or C# array?
>
C# is zero-based, as is most of the cyber world.
However..
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. ;-)
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.