in reply to Capturing the nth word in a string

Use the split function using whitespaces as delimiters Then you can access your string as an array of words