# Replace Item at index from another lists index by true or false

**URL:** <https://forum.dynamobim.com/t/replace-item-at-index-from-another-lists-index-by-true-or-false/51999>\
**Category:** Lists-Logic\
**Created:** [June 18, 2020, 2:09am UTC](https://forum.dynamobim.com/t/replace-item-at-index-from-another-lists-index-by-true-or-false/51999 "2020-06-18T02:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [June 18, 2020, 2:09am UTC](https://forum.dynamobim.com/t/replace-item-at-index-from-another-lists-index-by-true-or-false/51999/1 "2020-06-18T02:09:47Z")

</div>

Hi, Sorry for posting again. This is the last piece of a puzzle but I cant work it out. Basically if the value is false from the string.contains list. I want to replace the item in the list reverse list into the non reversed list…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/3/73070d2b5fdf5b5ddf5e3ce9d5bf9c2905c3e747.png)

---

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [June 18, 2020, 2:59am UTC](https://forum.dynamobim.com/t/replace-item-at-index-from-another-lists-index-by-true-or-false/51999/2 "2020-06-18T02:59:54Z")

</div>

I dont know what was going on but this worked 🙂

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6ca8faf4fb0116d9cc8e5fbd4ed5e39393bb2403.png)
