Add Carriage Return to end of String


#1

Hello all, I am having trouble adding a carriage return to the end of a string.
I can easily add carriage returns between strings with + (string spectral), but I only need to add it to the end.

I could make this work by using Cons (string) with an empty string input for the second slice… but I figured there is a better way to just add the carriage return to a single string.

Thanks for the help.


#2

Newline.zip (2.7 KB)

how could those be missing! see attached modules for different ways to create newlines. take their output and add it to your string using a + (String) node.


#3

Thanks @joreg
Adding the SpellValue solved the problem in a more practical way.

The solution I had seemed goofy.

Kind regards,
Jake


#4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.