perl -le 'print index("foobar","foo")'
In reply to Re^2: Substring comparison by trammell in thread Substring comparison by schtinkfist893