Roblox experiences may analyze a player's chat message before displaying or processing it. Given a string message, find the length of the longest contiguous substring containing no repeated characters.
A substring must contain consecutive characters from message, and character comparisons are case-sensitive. For example, A and a are considered different characters.
Implement longest_unique_substring(message).
message, a string.0 when message is empty.def longest_unique_substring(message):