String operator in array

This code uses string methods on array elements