Duplicating and renaming all views

I´m trying to duplicate all the views in the project that have the OB# prefix and want to rename them replacing that prefix with AE#. I’ve been trying this scheme but what I get is that the name of the view is being renamed without deleting the OB# prefix and adding an AE# suffix. The first image shows the sequence and the second the result.

Anyonw knows what should I insert to do the work properly?



It’s doing exactly what you’re telling it to do. You’re inserting AE# at the end of the name. If you want to replace OB# with AE#, use the String.Replace node.

Thanks Nick, that’s exactly what I’ve done and works perfect. I’m pretty new with this and still don’t know the node libraries.