Jump to content

Archived

This topic is now archived and is closed to further replies.

vidyashankara

Check if a line has a particular word?

Recommended Posts

Lets say i have this line.
EXPDTA NMR, 10 STRUCTURES
is there a command to check if the string contains the word NMR or no?

This is what i want.
If the line has NMR in it, It should output "10 Structures" or the words follow NMR.

Thanks

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.