Resonite-Issues
Resonite-Issues copied to clipboard
StringInsert on empty string always returns empty string.
Describe the bug?
StringInsert ignores the inserted string when the original string is empty even though it is equivalent to prepending when StartIndex=0 and equivalent to appending when StartIndex=Str.Length. It should comply to both when Str="" and StartIndex=0.
To Reproduce
The bottom StringInsert shows the errorneous behaviour:
resrec:///U-TheAutopilot/R-0dae04f0-9687-46cb-a113-7b3d11d624ba
Expected behavior
The correct output would be "abc".
Screenshots
Resonite Version Number
2024.10.8.1349
What Platforms does this occur on?
Windows
What headset if any do you use?
No response
Log Files
Anonymous - 2024.10.8.1349 - 2024-10-14 23_24_19.log
Additional Context
No response
Reporters
No response