# Adding a Wildcard to the end of a string to filter by?

**URL:** <https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710>\
**Category:** Packages\
**Created:** [April 12, 2016, 10:27am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710 "2016-04-12T10:27:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Barfoot](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@Ben\_Barfoot](https://forum.dynamobim.com/u/Ben_Barfoot)\
**Post date:** [April 12, 2016, 10:27am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/1 "2016-04-12T10:27:27Z")

</div>

Is it possible to add a wildcard to the end of a string?

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [April 12, 2016, 11:46am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/2 "2016-04-12T11:46:32Z")

</div>

Until you elaborate, I’d say the answer is NO.

---

<div class="post-metadata">

**Author:** ![Ben\_Barfoot](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@Ben\_Barfoot](https://forum.dynamobim.com/u/Ben_Barfoot)\
**Post date:** [April 13, 2016, 7:15am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/3 "2016-04-13T07:15:04Z")

</div>

Here is an example: I am in the process of making a Workset manager for MEP equipment I was wondering instead of having to filter by “Hydronic Supply” and “Hydronic Return” to eliminate element down to the certain Worksets is it possible to do it by just "Hydronic"with wildcard on the end so that I just need to do it once? I have a couple of areas of which I need to do this. ![Wildcard](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/3/369189734ff8e951b4c72f33861385e2438e5a29.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [April 13, 2016, 7:29am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/4 "2016-04-13T07:29:19Z")

</div>

_String.Contains_ might work for you…

 ![20160413-2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/b/bed2fbb9e51242380f36848dabffbf61be25a9fe.png)

---

<div class="post-metadata">

**Author:** ![Timon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/timon/32/12035_2.png) [@Timon](https://forum.dynamobim.com/u/Timon)\
**Post date:** [April 13, 2016, 7:45am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/5 "2016-04-13T07:45:43Z")

</div>

Here are a couple other options… I would also really love to actually have wild cards in dynamo, I have seen some workarounds, but there should be a simple way.

 ![contains](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/9/9cc255364597be5efc15bd1662a3f5fe08d0444d.png)

---

<div class="post-metadata">

**Author:** ![Ben\_Barfoot](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@Ben\_Barfoot](https://forum.dynamobim.com/u/Ben_Barfoot)\
**Post date:** [April 13, 2016, 9:13am UTC](https://forum.dynamobim.com/t/adding-a-wildcard-to-the-end-of-a-string-to-filter-by/3710/6 "2016-04-13T09:13:36Z")

</div>

Thanks guys I have taken what Timon send and created a custom node. just wanted to share it with you. Filter Element Wildcard
