How to List Each Feature on Category Page

I'd like to list the features of my products on the category page, but need to list them individually so I can style and use JS based on their values.



At the moment I have looked at the forums and found that you can list all the features of a product like so:



{assign var="product_features" value="product_features_`$obj_id`"}{$smarty.capture.$product_features}




But is there a way to get, for example, an array of these features. I'd like to be able to get to:


```php


Sizes:
M
L

```

Any ideas? Thanks!