Divides a string or array of strings by separating numbers from non-numbers.
This function splits input by detecting transitions between numeric and non-numeric characters. For example, "abc123def" would be split into ["abc", "123", "def"].
String or array of strings to divide
Optional
Optional configuration options for the division process
Array of segments where numbers and non-numbers are separated
dividerNumberString("abc123def") // returns ["abc", "123", "def"]dividerNumberString("test42") // returns ["test", "42"] Copy
dividerNumberString("abc123def") // returns ["abc", "123", "def"]dividerNumberString("test42") // returns ["test", "42"]
Divides a string or array of strings by separating numbers from non-numbers.
This function splits input by detecting transitions between numeric and non-numeric characters. For example, "abc123def" would be split into ["abc", "123", "def"].