Mar-02-2022, 04:38 PM
Hi, trying to figure this one out which I expect should be easy. If I find my own solution before anyone else I'll post it here. I'm looking. Thanks
I have successfully split my line for values that were in quotes:
Now I have a list that contains: (which I think is a list of strings)
To produce:
val_2 , val_4, val_6
I have successfully split my line for values that were in quotes:
"val_1: val_2" "val_3: val_4" "val_5: val_6"
Now I have a list that contains: (which I think is a list of strings)
[ 'val_1: val_2' , 'val_3: val_4' , 'val_5: val_6']How can I print the 2nd value in the pair separated by the colon :
To produce:
val_2 , val_4, val_6