Project

General

Profile

Actions

$instok » History » Revision 2

« Previous | Revision 2/4 (diff) | Next »
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 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 8 years ago · 2 revisions

Also available in: PDF HTML TXT