<b><i>format</i></b> cannot handle more than 8191 characters. A string will be trimmed to 8191 characters if it contains more characters than that.
Description
Description
Details
Details
- Legacy ID
- 2804052068
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
1.) Create a string with more than 8191 characters
2.) Execute <i>systemChat format ["length string = %1 | length compiled = %2", count toArray _string, count toArray format ["%1", _string]];</i>
3.) -> Difference in sizes of both strings
Additional Information
I'm guessing, this is known already as of the respective BIKI article:
https://community.bistudio.com/wiki/format
But I didn't find a ticket in here which is why I submitted this one.
Event Timeline
Comment Actions
2.18 now allows 8388608 characters
Also can put "%%" -> "%". Previously that would just be ignored, now it can be used to escape and include a % character in format string