Hurix interview question

Code for puzzle.Simple question like find the vovles in string