generative modeling for Rhino
Problem is because this is one branch (with these numbers) and when i decompose it or ungroup it, it lose these values i need. See the gh file i put in.
If it are verctor or point coordinates you can just get the x coordinate of them going either to point or vector decompose.
Anyway you can go to the string menu and play around, maybe decompose each string into individual characters, get the first comma index of each string and use it for splitting them with the substring component.
These are RGB values from gradient component, are you sure its what you really want ?
You should operate on it with string components cause these are not numbers but strings... or use split ARGB component - after splitting youll get R value (its what you ask for) but in 0 to 1 domain. To convert it back to integer value (like 71) multiply it by 255.
Path mapper is used to change Data Tree structure - get some tutorials on them cause this is essential knowledge (essential <> simple).
Rounding isnt necessary - just cast it to integer with integer component.