From: Linus Sellberg Date: 2003-11-17T10:46:13+09:00 Subject: Re: substring: to the end of the string Gavin Sinclair wrote: > On Saturday, November 15, 2003, 2:48:53 AM, KONTRA wrote: > Seriously, the ability to negative-index strings and arrays like that > is a breath of fresh air compared to traditional compiled languages. > I see no need to improve on it. I do, but I have no good solution to the problem. The problem being that positive indexes go from 0 to n-1, while negative go from -1 to -n, which could introduce confusion. But as I said, I know of no good solutions, since -0 is not a good way, and making the first positive index a 1 is just as bad, for several reasons.