Project

General

Profile

$istokcs » History » Version 2

Per Amundsen, 08/09/2015 05:39 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$istokcs(text,token,C)*
4
5
Returns [[$true]] if token exists in text, otherwise returns [[$false]].
6
7
_$istokcs is case-sensitive, see [[$istok]] for a case-insensitive version._
8
9
*Parameters*
10
11
text - The text to split.
12
token - The token to check.
13 2 Per Amundsen
C - The "ASCII":http://www.asciitable.com/ value to split by.
14 1 Per Amundsen
15
*Example*
16
17
<pre>
18
; Check if 'B' is a token in 'a.B.c.d'
19
//echo -ag $istokcs(a.B.c.d, B, 46)
20
</pre>