Copy only a part of parameter to another


I am trying to copy only the first few digits of a parameter to another. I have had most succes with String.Remove, but i can’t get the count to default to removing all characters from the given startindex. I can’t use a static value for count as it varies in character length.

If i choose 21 it works only on accesories that have 21 characters after 3

I can’t just pick a high number as that just gives an error of “Count out of range”

Does anyone have a suggestion on what i can do here?

Hello could you show your nodes expanded, probably you need count your characters first

I figured out a solution.

Putting “Count” to null seems to have fixed it so that it removes all characters after 3.

1 Like