Create DistinctSubstring