If you really only need the cars that start with o...
# getting-started
d
If you really only need the cars that start with one letter, use
carMakes.filter { it.first() == 'X' }