Just to follow up, tokenat() is used if you want to break up a string that is delineated by a common character. So for example, if you had a string that was like "coffee,tea,cakes,biscuits," that is delineated by commas.
If you wanted to get, say, the third item in that list, you would do tokenat(list, 2, ","). That says "get me the third (remember indexing is 0-based, so it's 2 and not 3) object in the given string where the objects (or tokens) are separated by a comma"