A simple solution is to add "\t" as a second argument to the IMPORTDATA function.
=IMPORTDATA("http://opsin.ch.cam.ac.uk/opsin/"&A2&".inchi","\t")
See it in action here: https://docs.google.com/spreadsheets/d/1YQpQiPgYJvfuHE5Tm6DMVw5hzwk3Cz0jByBp6eNwGeo/copy
Looks like we now have two solutions from Otis and Jordi. I think adding the\t is a little simpler. Where did you find the \t solution, and more importantly, what is the \t modifer doing? I am assuming it is a modifer for the IMPORTDATA statement that tells the IMPORTDATA to treat the data as a text string. I just couldn't find anything that suggested the modification. If you have a link to the modifications for IMPORTDATA, could you post it?
Thank you!