Project

General

Profile

$instok » History » Version 2

Per Amundsen, 08/10/2015 05:22 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$instok(text,token,N,C)*
4
5
Inserts token into the Nth position in text, even if it already exists in text.
6
7 2 Per Amundsen
_N can be a negative value._
8
9 1 Per Amundsen
*Parameters*
10
11
text - Text to add the token to.
12
token - Token to insert.
13
N - The Nth position to insert at.
14
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
15
16
*Example*
17
18
<pre>
19
; Insert token 'c' at token position '3'
20
//echo -ag $instok(a.b.d,c,3,46)
21
</pre>