Up

strfind2List

Like strfind. strfind2List gives all positions found

Prototype :

fun [S S I] [I r1]

Return : [I r1] a list of positions or nil

Error :

See also :

strfind

strfindi

strfindAnyChar (in Syspack too)

Example :

fun main ()=
	_showconsole;
	_fooIList strfind2List "Scol is a good language." "a" 0;
	_fooIList strfind2List "Scol is a good language." "good" 12;
	0;;