ReplaceInline BP node broken

ReplaceInline string function doesn’t seem to work:

Hi ,

Thanks for report! It does indeed seem that Replace Inline is not doing what it’s supposed to… but it’s not terribly clear what it’s supposed to do at all. I’m talking with Blueprints team now to see how they want to handle it, but in meantime I’d recommend using Replace node instead. If all you need to do is replace Search Text with Replacement Text, Replace Node will let you do this with To and From inputs, and you’ll be able to input string you want to adjust as well (which it seems like Replace Inline node is missing).

I’ll post here again when I know how we’re handling Replace Inline function.

Thanks , I will continue using replace node instead. I was hoping there would be a performance benefit to using inlined version, but it’s nothing critical.

Hey ,

So it sounds like UKismetStringLibrary::ReplaceInline was fixed in our internal build, so it should be working properly in a future release, likely 4.9; it will take a String as an input paramater. It is possible, however, that developers will decide to remove it from Blueprints, as it’s debatable whether it’s useful. I don’t believe there’s any substantial difference in performance between two.

Great, thanks for info :slight_smile:

Replace inline is Very useful. say you have a page of text and you need to swap, 50 “/n” for a “shift enter”. They both do job, but performance savings of inline are huge when your editing and formatting a lot of text