3 ms·
With array functions, the needle is first. With string functions, the haystack is first. https://gist.github.com/salathe/1672543 https://gist.github.com/salath
by Domenic_S 13y ago
With array functions, the needle is first. With string functions, the haystack is first.
https://gist.github.com/salathe/1672543 https://gist.github.com/salathe/1672543
- 1qaz2wsx3edc 13y agoThis still doesn't convince me it was ever a beneficial design.
- Domenic_S 13y agoI didn't claim it was beneficial, just consistent.
- turbo_pax 13y agoAre you sure it's that consistent? I just feel like there's some function hiding somewhere that breaks this rule.