function
PEd_StringSplitOnFirst(_string, _delimiter)
Splits the string in two at the first occurence of the delimiter.
Name | Type | Description |
---|---|---|
_string | String |
The string to split. |
_delimiter | String |
The delimiter. |
array
An array containing [firstHalf, secondHalf]. If the delimiter is not found in the string, then firstHalf equals empty string and secondHalf is the original string.
Copyright © 2022, BlueBurn. Built on September 12, 2022 using GMDoc.