splitWords
splitWords(
str
):string
[]
Split a string into words at spaces(’ ’) and hypens(’-’).
Parameters
• str: string
Returns
string
[]
splitWords(
str
):string
[]
Split a string into words at spaces(’ ’) and hypens(’-’).
• str: string
string
[]