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.

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.