BrowserUK, that's a good tip. Upon looking at the results, it occurs to me that no ships have a ':' in their name. But it's not clear to me how to parse for a colon whilst in the loop. As you say, @$row is an array; but I won't know what the element number is going to be from run to run.