Thank you, @truevis and @Jibz_Cello
I guess I need to know more about the nodes that exist! Pad Left is amazing!
@Jibz_Cello, I did not go through the entire script, but your starting list was exactly what I had. There are different alphabets, and the logic of removing the rest of the string to preserve the alphabet was just what I needed. I padded with the required number of zeros and joined them back, and that's what I wanted to accomplish!
I am however curious why my original logic did not work.
I had it based on this post:
on this thread:http://dynamobim.org/forums/topic/replacing-items-in-a-list-based-on-search-criteria/