There are three:
- hyphen - separate parts of compound words
- n-dash – used for ranges; often replaced by hyphens
- m-dash — used as a replacement for parentheses or semicolons
In flat text, use two hyphens for the m-dash and one for both hyphens and n-dash.