PB 3.0 source code, user input with maxlen of input string