Added logic for handling zero, one and many parameters. Handling for multiple separators