Skip to content

splitWords

splitWords(str): string[]

Split a string into words at spaces(’ ’) and hypens(’-’).

Parameters

str: string

Returns

string[]

Source

utils/text-utils.ts:9