anylength delimeter test and working code