Project

General

Profile

Actions

$instok » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 12/14/2016 11:51 PM


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 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 7 years ago · 3 revisions

Also available in: PDF HTML TXT