extracting a specific part out of a string (errors in my code?)

Printable View