Project

General

Profile

$findtokcs » History » Version 2

Per Amundsen, 08/10/2015 05:15 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$findtokcs(text,token,N,C)*
4
5
Returns the position of the Nth matching token in text.
6
7 2 Per Amundsen
_[[$findtokcs]] is case-sensitive, see [[$findtok]] for case-insensitive version._
8 1 Per Amundsen
9
*Parameters*
10
11
text - The text to tokenize.
12
token - The token to find.
13
N - The Nth token to find.
14
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
15
16
*Example*
17
18
<pre>
19
; Find position where token 'C' starts.
20
//echo -ag $findtok(a.b.C.d,c,1,46)
21
</pre>