[Solved] Create a function to parse a string

You can create a parameter as a variable. There are actions to copy from the parameter variable and another to copy to the parameter variable.

You can add multiple variable parameters and copy new values to them or you could give the function an array or structure, modify and return them or just use the variables to return the values.

I don’t use this much. So, I needed to create a test project. So, I decided to share the pics.

The actions are here

I created 2 parameters

2 extension variables

These are the function events for an action

I tested it with a button and a text object using scene variables.

The scene events

This just increased each variable by 1.
Screenshot_20240906_234529_Chrome

To answer the parsing part. The array tools extension has a function that splits text to an array but the function approaches is simpler.

3 Likes