Divide string in sets. Changed naming.