[Tutor] Extract Names from string

Stephen P. Molnar s.molnar at sbcglobal.net
Tue Aug 3 09:08:16 EDT 2021


I have a project which generates a large number of data files and have 
pyhon scrip;t that does most of the pre- and post-processing. However, I 
have one problem which has not succumbed to Googling.

I have a list of chemical names which I can load as a string of the form:

"name1","name2", . . .

Unfortunately, the names are not the same length which precludes 
extracting each name by indexing.

My question is ho w to extract individual names?

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.
614.312.7528 (c)
Skype: smolnar1


More information about the Tutor mailing list