121. CodeSOD: Please Find, Rewind (thedailywtf.com)
As previously discussed, C++ took a surprisingly long time to get a "starts with" function for strings. It took even longer to get a function called "contains". In part, that's simply because string::find solves that problem. Nancy sends us a⦠different approach to solving this problem. bool substri...