From experience I know that writing the shortest code can cause issues when you need to expand functionality later. Need to consider what is best for each case. Sometimes shorter code is not necessarily more efficient. It depends a lot on optimisations done in the compiler or interpreter and they are pretty clever these days.
The one line solution for finding vowels had
in 'aeiouAEIOU'
but that went beyond the requirement.
Oh I thought you meant one of my solutions so I looked through my older posts lol.
I agree about shorter code isn't better all the time I've mentioned it in most of my posts.