Function: mulSplit()

mulSplit(str, splitStr, num?): string[]

Parameters

str

string

need to split of primitive string

splitStr

string

split params

num?

number = -1

split limit

Returns

string[]

a new split array, length is num + 1

Description

Add the number of cuts based on the original split and return all subsets after the cut