Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

String.indexOf

indexOf($substring, $offset = 0)

Description

Find the position of a substring.

'abcdef'.indexOf('def');
//= 3

See Also