Code reduction

I did not realize you could cast a string to an array so simply.