

function index = findFirstVowel(word)
%
% findFirstVowel: Finds the index of the first vowel appearance in a given
%                 string 
%
% USAGE: i = findFirstVowel(str)
%
% findFirstVowel scans the given string `str' to find the first index in
% the string where a vowel ('a', 'e', 'i', 'o', or 'u') appears. This index
% is the value returned.
%


index = regexp(word, '[aeiou]');
index = index(1);

end

