# String manipulation, how to?

**URL:** https://community.transloadit.com/t/string-manipulation-how-to/15446
**Category:** Transloadit
**Created:** [September 11, 2020, 6:25pm UTC](https://community.transloadit.com/t/string-manipulation-how-to/15446 "2020-09-11T18:25:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Oppai-Man](https://avatars.discourse-cdn.com/v4/letter/o/46a35a/32.png) [@Oppai-Man](https://community.transloadit.com/u/Oppai-Man)
#### Post date: [September 11, 2020, 6:25pm UTC](https://community.transloadit.com/t/string-manipulation-how-to/15446/1 "2020-09-11T18:25:10Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![WardenScotland](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/wardenscotland/32/323_2.png) [@WardenScotland](https://community.transloadit.com/u/WardenScotland)
#### Post date: [December 12, 2020, 12:30pm UTC](https://community.transloadit.com/t/string-manipulation-how-to/15446/2 "2020-12-12T12:30:33Z")

</div>

Hello, string manipulation isn’t a native feature of our API. This could be achieved, however, through the use of [Assembly Variables](https://transloadit.com/docs/#assembly-variables) and one of our [SDKs](https://transloadit.com/docs/#group-software-development-kits). Zapier does have a way to [integrate code](https://zapier.com/apps/code/help), so potentially you could create a way to manipulate your strings, but I’m not familiar with that feature.
