>Don't I remember some sort of syntax to refer to the nth character in a string without using the substring function? It was along the line of MyString<3> or something, for example, to get the third character - (and no, I'm not confusing array functions). Anybody rememeber/know this or am I getting mixed up with another language I used at some point?
>
>thanks - Ken
Last language I remember that you had to use array-like notation to get a substring, used syntax like this:
subst(a, 3,1) a$(3)
subst(a, 3) a$(3 TO)
subst(a, 3, 5) a$(3 TO 7)
left(a,4) a$(TO 4)
The language was called Spectrum Basic, worked on Sinclair's (aka Timex) machines back in 1983. Thanks for refreshing memories :)