Project

General

Profile

Actions

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

Parameter Description
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 1 year ago · 6 revisions

Also available in: PDF HTML TXT