A function defined in __bbmod_string.gml
bbmod_string_split_on_first(_string, _delimiter[, _dest])
Splits the string in two at the first occurrence of the delimiter.
Name | Type | Description |
---|---|---|
_string | String |
The string to split. |
_delimiter | String |
The delimiter. |
_dest | Array |
The destination array. A new one is created if not specified. |
Array
An array containing [firstHalf, secondHalf]
. If the delimiter is not found in the string, then secondHalf
equals an empty string and firstHalf
is the original string.
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.