give string s consist word space return length word stringa word maximal substring consist nonspace character example 1input s hello WorldOutput 5explanation the word World length 5example 2input s fly moon Output 4explanation the word moon length 4example 3input s luffy joyboyoutput 6explanation the word joyboy length 6 constraints1 slength 104s consist english letter space there word s