$addtok » History » Revision 14
Revision 13 (Per Amundsen, 08/10/2015 05:10 AM) → Revision 14/15 (Per Amundsen, 08/10/2015 05:26 AM)
_Added in 1.9.0_ *$addtok(text,token,C)* Adds a token to the end of text but only if it is not already in text. _[[$addtok]] is case-insensitive, see [[$addtokcs]] for case-sensitive version._ *Parameters* text - The text Text to tokenize. add the token to. token - Token to add. C - The "ASCII":http://www.asciitable.com/ value to tokenize by. *Example* <pre> ; Returns a.b.c.d //echo -ag $addtok(a.b.c,d,46) ; Returns a.b.c.d //echo -ag $addtok(a.b.c.d,c,46) </pre>