I need to check if a word that starts with a vowel and write 'an' or 'a' accordingly.
I could just go and write:
CASE substring(word, 1, 1) when 'a' then write an when 'i' write an
and so on.
Anyone has an easier way to do it? Just say if it's a
, i
, o
, u
or e
- write 'an' else write 'a'?