String manipulation, how to?

Can I do string manipulation in the template code? I’m using Zapier Integration and I wish to do the following:

input filename: prefix_name-suffix.jpg

I want to split the name of my file so I can use the prefix as a folder, and delete the -suffix.
Is that possible?

Hello, string manipulation isn’t a native feature of our API. This could be achieved, however, through the use of Assembly Variables and one of our SDKs. Zapier does have a way to integrate code, so potentially you could create a way to manipulate your strings, but I’m not familiar with that feature.