Project

General

Profile

Actions

$deltok » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/10/2015 05:12 AM


Added in 1.9.0

$deltok(text,N-N2,C)

Deletes the Nth token from text.

Parameters

text - The text to tokenize.
N-N2 - The range of tokens or Nth token to delete.
C - The ASCII value to tokenize by.

Example

; Delete the 3rd token, result is 'a.b.d'
//echo -ag $deltok(a.b.c.d,3,46)

; Delete the second to third token, result is 'a.d'
//echo -ag $deltok(a.b.c.d,2-3,46)        

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT