Program to extract a substring from a string

Extract the desired word from a string

The second word is: