Re: Help
- Posted by C & K L <candk at TICNET.COM> Nov 08, 1998
- 562 views
So, your sequence is as follows: notes = { "a1", "b1", "c2", "d3", ...} Correct? To extract "b1" into a variable, you would use b1 = notes[2][1..2] or simply b1 = notes[2] unless notes[2] = "b123", in which case the first one above would be needed. Albert Brauneis wrote: > > In a message dated 11/8/98 11:57:24 PM !!!First Boot!!!, candk at TICNET.COM > writes: > > << If notes = "a-b-c-d-" then you would use > > tempnote = notes[junk..junk+1] > > I think. >> > > The reason I have notes[1][something] is because all the notes are in the > first sequence element. notes only has one element and multiple elements in > side it so I need the notes[1][something] Thanks for you suggestion I will > test it out. > > Albert