I have a very long string with tokens and separators. What's the best way to remove a token from the string?
Develop games in your browser. Powerful, performant & highly capable.
You can do something like this:
tokenIndex: The position of the token that you want to remove
tokenGet: The token get from your string
',': You can change to your separator.