String.dashCase
dashCase() -> string
Description
Convert to dash-case format.
'listOfPosts'.dashCase() //= 'list-of-posts' 'list_of_Posts'.dashCase() //= 'list-of-posts' 'list of posts'.dashCase() //= 'list-of-posts'
Convert to dash-case format.
'listOfPosts'.dashCase() //= 'list-of-posts' 'list_of_Posts'.dashCase() //= 'list-of-posts' 'list of posts'.dashCase() //= 'list-of-posts'