Project

General

Profile

Actions

Added in 1.9.0

$addtok(text,token,C)

Adds a token to the end of text but only if it is not already in text.

$addtok is case-insensitive, see $addtokcs for case-sensitive version.

Parameters

Parameter Description
text The text to tokenize.
token Token to add.
C The ASCII value to tokenize by.

Example

; Returns a.b.c.d
//echo -ag $addtok(a.b.c,d,46)

; Returns a.b.c.d
//echo -ag $addtok(a.b.c.d,c,46)

Updated by Per Amundsen almost 2 years ago · 15 revisions

Also available in: PDF HTML TXT