locatePattern

Return the index of the next instance of 'match' starting at position 'start', or source.length where there is no match.

Parameter 'start' defaults to 0

locatePattern
(
T
)
(
const(T)[] source
,
const(T)[] match
,)

Meta