✅ Where does the extra linebreak come from (StringBuilder)?
expected result:
actual result:
result shown on screenshot to show new line characters.
15 Replies
result looks fine for me https://discord.com/channels/143867839282020352/251386218351165441/1265896990722625557
leowest
REPL Result: Success
Result: string
Quoted by
<@1102729783969861782> from #bot-spam (click here)
Compile: 372.542ms | Execution: 45.577ms | React with ❌ to remove this embed.
so without more context on what else is touching that code hard to say
nothing, that is an empty string builder
that is then untouched further, no processing, its just written into a text file
I mean without seeing your code that is using it not much I can say unhappily.
sometimes minimal things can make a difference
that is what it produces untoched and saving to a file
unhappily that does not show me how its being used, so same I said above remains
all I can do is show u that it works as intended as I did above
im unsure what you are looking for
oh. you were right. i do mess it up. im calling the wrong file saving thing and its trying to convert it to yaml format ;-;
i named my method wrong and confused myself with it
glad u figured it out
sometimes it be like that something very small causes the issue and we think the problem is somewhere else
If you have no further questions, please use /close to mark the forum thread as answered