Added the ability to change the separator character

I’m not keen on the / as mentioned in a previous issue. I have added
the ability to override this in a variable.