Split a string on the first occurrence of a given separator
-
Updated
Aug 20, 2025 - JavaScript
Split a string on the first occurrence of a given separator
Split a string on a given character or characters, with support for escaping.
A utility belt of string functions to handle nearly any string manipulation or task
To associate your repository with the string-split topic, visit your repo's landing page and select "manage topics."