EarnIn Interview Question

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