Pergunta de entrevista da empresa EarnIn

Find the length of each word in a string without using split operation.