Find the minimum length of word in a string
In order to find the shortest word in a string e have to split the word and count the length of each word this can be achieved in the following two ways: In primitive way we do the following type of coding: