# Template - remove text based on variable

**URL:** <https://community.glideapps.com/t/template-remove-text-based-on-variable/26892>\
**Category:** Ask for Help\
**Created:** [May 17, 2021, 9:59pm UTC](https://community.glideapps.com/t/template-remove-text-based-on-variable/26892 "2021-05-17T21:59:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [May 18, 2021, 5:38am UTC](https://community.glideapps.com/t/template-remove-text-based-on-variable/26892/4 "2021-05-18T05:38:38Z")

</div>

> [@Krivo](#):
>
> The folder I would like to store in a separate column and extract that value from my folder+filename column

@Krivo you can do it replacing the folder column to `blank` in right-hand side in template column, giving you only the filename

> [@new Use custom value for right-hand side of template column](https://community.glideapps.com/t/use-custom-value-for-right-hand-side-of-template-column/26209):
>
> This would be big for @Lucas_Pires and @Robert_Petitto’s Trebuchet method, I believe. Also, it would eliminate a lot of extra columns we had to previously create specifically for template columns.

---

_[View the full topic](https://community.glideapps.com/t/template-remove-text-based-on-variable/26892)._
