Help with arrays

I have in an array:
**word1,word2

**How do I get it to return:

**word1 **or word2

by itself without the comma?