Project

General

Profile

Added in 1.9.0

$istok(text,token,C)

Returns $true if token exists in text, otherwise returns $false.

$istok is case-insensitive, see $istokcs for a case-sensitive version.

Parameters

text - The text to tokenize.
token - The token to check.
C - The ASCII value to tokenize by.

Example

; Check if 'b' is a token in 'a.b.c.d'
//echo -ag $istok(a.b.c.d, b, 46)

Updated by Per Amundsen over 2 years ago · 5 revisions

Also available in: PDF HTML TXT