# Is there any C++ stringstream or C# StringBuffer like class in UE4?

**URL:** <https://forums.unrealengine.com/t/is-there-any-c-stringstream-or-c-stringbuffer-like-class-in-ue4/451341>\
**Category:** C++\
**Tags:** fstring, unreal-engine, UE4, CPP, question\
**Created:** [June 27, 2019, 2:07am UTC](https://forums.unrealengine.com/t/is-there-any-c-stringstream-or-c-stringbuffer-like-class-in-ue4/451341 "2019-06-27T02:07:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_43b87f14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43b87f14](https://forums.unrealengine.com/u/anonymous_user_43b87f14)\
**Post date:** [June 27, 2019, 2:07am UTC](https://forums.unrealengine.com/t/is-there-any-c-stringstream-or-c-stringbuffer-like-class-in-ue4/451341/1 "2019-06-27T02:07:01Z")

</div>

I’d like to dynamically edit strings but I am not sure if I can simply use FString’s operands for doing this efficiently.

I wonder if there is any class similar to C++'s stringstream or C#'s StringBuffer in UE.

I’ve searched a bit but couldn’t find anything about this.

Is there no performance issue when I concatenate multiple FStrings?

```
// any other way that I can do this efficiently?
FString str = FString("aaa") + FString("bbb") + ...

```

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 27, 2019, 4:21am UTC](https://forums.unrealengine.com/t/is-there-any-c-stringstream-or-c-stringbuffer-like-class-in-ue4/451341/2 "2019-06-27T04:21:50Z")

</div>

I think closest to stream in UE4 API FArchive which let you serialize properties to any medium (depending on what archive you use)

> **[FArchive](https://docs.unrealengine.com/5.1/en-US/API/Runtime/Core/Serialization/FArchive/)**
>
> Base class for archives that can be used for loading, saving, and garbage collecting in a byte order neutral way.
