Splicing a fixed-alphanumeric string

Long time Rhino user, fairly new to grasshopper but loving it. I’d like to create an algorithm where I can input a fixed 8-digit alphanumeric string ej. HP97O1FR, and I can splice out each digit into its own pathway and assign it a value, ej H=8, P=14, 9=35, then use those values to define for my geometries. My biggest challenge is splicing out the 8 digits into their own pathways. Sorry, not a CS guy…

Thanks in advance for your help!

Welcome,

You could try something like this.

Don’t worry! There’s really no need for scripting.

2 Likes

Thank you so much!!! This is exactly what I was looking for!! :pray: