Project

General

Profile

Actions

$addtokcs » History » Revision 9

« Previous | Revision 9/10 (diff) | Next »
Per Amundsen, 08/10/2015 05:26 AM


Added in 1.9.0

$addtokcs(text,token,C)

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

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

Parameters

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

Example

; Returns a.b.c.D
//echo -ag $addtokcs(a.b.c,D,46)

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

Updated by Per Amundsen over 9 years ago · 9 revisions

Also available in: PDF HTML TXT