Use data-structures for string-chomp