I am struggeling with list logic. I want to replace my first item of a name.
“5.880_OG01_RDUK” to f.e. “6.780_OG01_RDUK”
I use split string but the final step to finaly replace the string does not work.
So where is the issue?
I have always to change the front of name ConcateNewHeights.dyn (36.7 KB)
That’s a different issue. If you have elements with a different number of values (3 vs 4) then you need to handle that discrepancy. Without knowing which value is “optional” it’s hard to suggest what you should do, but I’d think something with checking the number of items in the sublist of split strings and then using a conditional statement to concat 3 or 4 of the substrings.
the script is realy shorter than! … when i run the script, it is doing not the right stuff.
at least it is renaming something but it is not corresponding ConcateNewHeights_V01.dyn (26.7 KB)