dasherize

Etymology
From and.

Verb

 * 1)  To convert (a string) to use hyphens as word separators.