Go’s SplitN returns an empty string if there’s nothing after the split, so with: color=#FF6BFF;emotes=; etc
result[“color”] = “#FF6BFF”
result[“emotes”] = “”
But it might not in other languages, if their split functions are different.
Go’s SplitN returns an empty string if there’s nothing after the split, so with: color=#FF6BFF;emotes=; etc
result[“color”] = “#FF6BFF”
result[“emotes”] = “”
But it might not in other languages, if their split functions are different.