The long dash (also called the em dash) is a punctuation mark often used in informal writing. You can see it here (link to:en.oxforddictionaries.com)

The em dash is typically used without spaces on either side. However, most newspapers (and all who follow the AP style) use the em dash with a single space on each side.