Can it be make print("abc"..(EnterButtonUsed).."def")

I want this:

print("abc"..(EnterButtonUsed).."def")

Output
abc
def

image

print("abc\ndef")

\n is used when you want to make a new line in strings (text), and make sure not to space it from other words.

2 Likes

Small correction: print("abc\ndef"); You don’t want spaces in this example!
\n basically creates a new line in texts.

1 Like

Oh, yes, thank you for pointing that out. I’d forgot

1 Like