3dRaven
(3dRaven)
August 26, 2024, 7:08am
2
Ofcourse it does, but i doubt you’ll reach it anytime soon with a normal game. “Len” returns the length as Int32(which is a little flaw in my opinion since length/size can not be smaller than 0). Deriving from it, that it supports the full 31 Bits of the positive space of Int32, you can create a string with up to 2.147.483.647 characters. IIRC a TChar is 1 Byte, this means a FString of roughly 2GB(!). Nothing beyond this is possbile, because otherwhise Int32 will flip to negative value.
What are you trying to store that is breaking the 2.147.483.647 character limit? Perhaps you are only storing to the first line break? Check where you data cuts off abruptly.