Given a string, input_str, return the length of the longest substring without repeating characters.
input_str
Constraints:
input_str.length