# Replace a string value by another string value that is not at the same index value

**URL:** <https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665>\
**Category:** Blueprint\
**Tags:** string, index, unreal-engine, Blueprint, question\
**Created:** [May 9, 2019, 8:39am UTC](https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665 "2019-05-09T08:39:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FastNFerocious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FastNFerocious](https://forums.unrealengine.com/u/FastNFerocious)\
**Post date:** [May 9, 2019, 8:39am UTC](https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665/1 "2019-05-09T08:39:14Z")

</div>

How can I replace a string value:“2” indexed at 22 by a string value:“3” indexed at 33? Is it possible to do this by using the replace inline node?  
Thanks

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 9, 2019, 8:47am UTC](https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665/2 "2019-05-09T08:47:02Z")

</div>

Are you talking about strings or arrays?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 9, 2019, 8:52am UTC](https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665/3 "2019-05-09T08:52:58Z")

</div>

Replace Inline doesn’t utilise indexes, just values. Not sure if I understood you right:

 ![276414-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/d/66d6c9f814a12c258a7ff937a3a2b859da3778c4.png)

But this will replace the element at index 22 with the element at index 33. It does not care what the element value is.

---

<div class="post-metadata">

**Author:** ![FastNFerocious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FastNFerocious](https://forums.unrealengine.com/u/FastNFerocious)\
**Post date:** [May 9, 2019, 9:45am UTC](https://forums.unrealengine.com/t/replace-a-string-value-by-another-string-value-that-is-not-at-the-same-index-value/448665/4 "2019-05-09T09:45:29Z")

</div>

I didn’t give enough information sorry, I am working with arrays. Here is a screenshot that might explain better what I want to achieve…
