Addapted to String input
Addapted input to String