micseydel wrote:Welcome to the forum! You might want to introduce yourself here (though it's not mandatory) and read this to learn how to make better posts (maybe not "mandatory" but strongly recommended).
If you give us a runnable code snippet less than 20 lines, we can give you a better answer, but in general what I can say is that if you use brackets twice, that you have a collection inside of a collection (like a matrix, if you're familiar with those from math; no worries if not). The first bracket accesses the inner collection, and the second bracket accesses the item inside that collection. A string can be thought of as a collection of characters, so if you had a list of strings you could access the third character of the second string with
- Code: Select all
If this seems unclear, feel free to post code closer to what you already have and we can adapt an example to that.
Users browsing this forum: No registered users and 4 guests