Project

General

Profile

$findtok » History » Version 1

Per Amundsen, 08/08/2015 12:26 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$findtok(text,token,N,C)*
4
5
Returns the position of the Nth matching token in text.
6
7
*Parameters*
8
9
text - The text to search.
10
token - The token to find.
11
N - The N'th token to find.
12
C - The token delimiter.
13
14
*Example*
15
16
<pre>
17
; Find position where token 'c' starts.
18
//echo -ag $findtok(a.b.c.d,c,1,46)
19
</pre>