Skip to content

Maniac: Control String Variables - Splitting text using an empty string as the separator does not handle the last string variable correctly #3640

Description

@Mimigris

If you use the command Control String Variables to split strings using a separator (TPC: t[X] .split "TEXT", t[Y], v[Z]), and that you do not set any text as the separator, the text of the string variable should be separated letter by letter starting from the string variable selected, with the number of separations done send to the selected variable.

Currently, if you do that with the Player, the assignation will be done correctly, except that the string variable that should be assigned the last character will instead be assigned the entire string variable that should have been separated, and the selected variable will be assigned one less separation than expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions