You haven't provided any data for failing cases. The further the smaller string is from the beginning of the bigger string, the slower index() will be.
In reply to Re^3: Regex Start Anchor with variables
by japhy
in thread Regex Start Anchor with variables
by chrism01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |