...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
RegExp()
.This object is created with a string to represent the matching-pattern and a string to indicate flags that modify the behavior of one or more matching operations:
...
Uses the matching pattern as a delimiter and splits the string on the delimiter boundaries. The function returns an roList of strings that were separated by the matching pattern in the original string.