@technobuddha > library > Programming > Variables
Function: tokenize()
ts
function tokenize(input: string): string[];Defined in: tokenize.ts:15
Splits the input string into an array of words.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | string | The string to tokenize. |
Returns
string[]
An array of words found in the input string. Returns an empty array if no matches are found.