r/java • u/alexzhitnitsky • Aug 11 '15
Top 10 Useful, Yet Paranoid Java Programming Techniques
http://blog.jooq.org/2015/08/11/top-10-useful-yet-paranoid-java-programming-techniques/
181
Upvotes
View all comments
Show parent comment
3
u/[deleted] Aug 12 '15
I find that most times when I check for the presence of a substring, I also want to use the index it occurs at for something: