Split category into an array