Refactoring: added function HasSpecificDelimiter and containsDelimiter