enchancing stripDelimiter function to work properly with special unicode characters like umlauts etc.

This is a fix for https://github.com/flyway/flyway/issues/673