# Search for multiple strings (ex. different room names) in a String.Contains?

**URL:** <https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597>\
**Category:** Packages\
**Created:** [November 26, 2015, 2:52am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597 "2015-11-26T02:52:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakob\_Guldbrandsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jakob_guldbrandsen/32/31501_2.png) [@Jakob\_Guldbrandsen](https://forum.dynamobim.com/u/Jakob_Guldbrandsen)\
**Post date:** [November 26, 2015, 2:52am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/1 "2015-11-26T02:52:00Z")

</div>

Hey there!

Is there a why to make the String.Contains make a bool mask with more than ex. one room name?

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [November 26, 2015, 4:15am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/2 "2015-11-26T04:15:28Z")

</div>

Sure. Try with"List.AnyTrue" from clockwork:

 ![2015-11-26_17-45-46](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/2cd4b886f918a3195d82ba5ea3b8c3e4e23a16e7.png)

---

<div class="post-metadata">

**Author:** ![Garret\_Meierbachtol](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@Garret\_Meierbachtol](https://forum.dynamobim.com/u/Garret_Meierbachtol)\
**Post date:** [January 19, 2016, 9:39am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/3 "2016-01-19T09:39:43Z")

</div>

Something appears to have gone awry with the string contains node…when I try to repeat the example, this is the result that I get. It’s like it is only searching for the first string value and nothing else…

I’m running version 0.9, has anybody else had this issue when using the string contains node to search multiple values? Am I missing something?

![StringContains](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/4/40e97cebfac3129944d6ed4609457cb0e0cadcd2.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [January 19, 2016, 9:48am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/4 "2016-01-19T09:48:25Z")

</div>

Hi Garret,

Try changing Lacing to Cross product to “String.Contains”. Hope it helps!

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [January 19, 2016, 9:50am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/5 "2016-01-19T09:50:50Z")

</div>

* * *

&nbsp;

---

<div class="post-metadata">

**Author:** ![Garret\_Meierbachtol](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@Garret\_Meierbachtol](https://forum.dynamobim.com/u/Garret_Meierbachtol)\
**Post date:** [January 19, 2016, 11:22am UTC](https://forum.dynamobim.com/t/search-for-multiple-strings-ex-different-room-names-in-a-string-contains/2597/6 "2016-01-19T11:22:19Z")

</div>

That was it, thanks KULKUL!!
