Replace text for trees

How to Replace Text… in my case replace GUID with Name,
I want to keep the structure in Text input

replace_Text.gh (30.9 KB)

Here is one way:
replace_Text_v2.gh (29.8 KB)
Edit: I updated the file attached.

1 Like

seems a more complex approach was needed but it works…thanks

Yeah, it certainly seems a little over complicated. I will come back to you if anything else comes to mind. In the meantime, you can remove the Partition Lists for one:

Here is a version using Python:
replace_Text_v3.gh (34.1 KB)