Skip to navigation

Question:
Count the occurrence of a sub-string in a string

When you must fail, fail noisily and as soon as possible.