Project

General

Profile

Actions

Added in 1.9.0

$remtokcs(text,token,N,C)

Removes the Nth matching token from text.

$remtokcs is case-sensitive, see $remtok for case-insensitive version.

Parameters

Parameter Description
text The text to tokenize.
token Token to remove.
N If N = 0, all matching tokens, otherwise the Nth token.
C The ASCII value to tokenize by.

Example

; Remove the first 'B' token.
//echo -ag $remtokcs(a.b.B.c.d,B,1,46)

; Remove all 'B' tokens.
//echo -ag $remtokcs(a.b.B.B,b,0,46)

Updated by Per Amundsen over 1 year ago · 4 revisions

Also available in: PDF HTML TXT