Implement command-line parsing for strings