Refactored function containsString
Lets fix an actual bug while we're at it. Thanks mlocati
Merge pull request #1277 from ojalehto/refactor/validation-strings-helper/containsString-function

Bugfix / refactored function in string validation helper