$instok » History » Revision 2
Revision 1 (Per Amundsen, 08/10/2015 05:21 AM) → Revision 2/4 (Per Amundsen, 08/10/2015 05:22 AM)
_Added in 1.9.0_
*$instok(text,token,N,C)*
Inserts token into the Nth position in text, even if it already exists in text.
_N can be a negative value._
*Parameters*
text - Text to add the token to.
token - Token to insert.
N - The Nth position to insert at.
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
*Example*
<pre>
; Insert token 'c' at token position '3'
//echo -ag $instok(a.b.d,c,3,46)
</pre>