Category:Token Identifiers
From Scriptwiki
Definition
Tokens are strings of characters that are separated by a certain character.
Tokens are a very useful way to handle strings of text from which you need to separate shorter strings that are separated by a character. Usually the separating character (delimiter) is a space.
Note that token strings can be anything, and you could delimiter them with every character that exist (but only one character).
What are they good for
In a line like This is just a little line each word represents a token if you separate them with a space. The space in this case is called the 'delimiter'.
If you want to, for example, get the third and fourth word from the above line, you could do it with $gettok and by using space as the delimiter. If you have a line like My brothers are called Bob, David, Elton, Joe, Jack, Tim you could get the names of the third and fourth brother easily with token idenfifiers. Without token identifiers it would be painful to find the names automatically.
Appearance in mIRC
You will see tokens in three categories:
Articles in category "Token Identifiers"
There are 21 articles in this category.
$ |
$ cont. |
$ cont. |
