Allow multiple string tokens

You couldn't mention `%dir%` etc. more than once. Now you can.