When to use -, – and —? [duplicate]

Solution 1:

Hyphens are used in compound modifiers.

  • a well-trained professional
  • over-the-counter drugs

En dashes are used in place of "to" to connect numbers or words.

  • The London–Amsterdam flight is delayed.
  • The meeting is from 3:00–4:30 p.m.

Em dashes help set off amplifying or explanatory statements.

  • The vampire—it had been awake half the night—flew out of its coffin.