Explode a string and access its values

Hi all,

I have an image that I am able to pull out of the CMS. When I am trying to access its title, it gives it to me with an extension for example 'image.jpg'. I tried using explode function {{ image:title | explode:. }} but I only managed to get first or last item of an array. What if my array contains 15 items? It's not like I can create a variable, assign the value to it and then loop through if it was an array.

Any help would be appreciated.

Answered by Jack McDade!
>>>>>>> Answered <<<<<<<
8 Replies
2 Followers