4 * Revision 1.1 2001/04/04 05:43:37 wang
5 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
7 * Revision 1.1 1998/07/02 17:17:00 bnv
14 /* ----------------- Lcountstr ------------------- *
15 * Counts the appearances of the first string 'target'
16 * in the second argument 'source'
19 Lcountstr( const PLstr target
, const PLstr source
)
21 long output
=0, position
;
23 position
= Lpos(target
,source
,0);
26 position
= Lpos(target
,source
,position
+LLEN(*target
));