"Michael W. Ryder" <_mwryder55 / gmail.com> wrote in message news:FBGHm.79$sY5.70 / newsfe17.iad... > Just Another Victim of the Ambient Morality wrote: >> "Michael W. Ryder" <_mwryder55 / gmail.com> wrote in message >> news:d3oHm.2522$1R3.528 / newsfe18.iad... >>> What method doesn't work? If you mean the string[-index, index] method >>> it does work fine for me. I am using 1.9.1 if that makes any >>> difference. The string[-index..-1] method does the same thing but I have >>> used Business Basic for over 20 years so my method was easier for me. >> >> In retrospect, I'm surprised I put it so harshly but it doesn't do >> the same thing as the other method. Your solution requires that you know >> how long a tail you need. If, instead, you know how much of the head you >> need to remove but don't know or care how long the tail is, your method >> is insufficient... >> >> > If all you wanted was the last character of a string then using > string[-1,1] does the same thing as string[-1..1] with less typing. This > was my original solution but seeing the index in your OP I thought you > wanted to take the last x number of characters from a string so offered > the other solution. In fact using 1.9.1 you can simplify this to just > string[-1]. I saw that. I'm not sure what it was about an index that made you think that I wanted the last x number of characters but that the second parameter was string.size - 1 should have tipped you off as to what was known and what was desired...