Actions
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
Parameter | Description |
text | Text to add the token to. |
token | Token to insert. |
N | The Nth position to insert at. |
C | The ASCII value to tokenize by. |
Example
; Insert token 'c' at token position '3'. //echo -ag $instok(a.b.d,c,3,46)
Updated by Per Amundsen over 1 year ago · 4 revisions