INRIX interview question

Find the longest non-repeating substring in a string.