@wtasnorg/node-lib / splitNString
splitNString(
s,sep,n):string[]
Defined in: src/strings.ts:788
SplitN slices s into substrings separated by sep and returns a slice of the substrings between those separators. The count determines the number of substrings to return:
string
Input string.
string
Separator string.
number
Maximum number of substrings.
string[]
Array of substrings.