Line Break on text mesh not working?

This is probably going to be a quick one, but I’m a beginner, so I’m kind of confused. On the unity reference for text mesh (Unity - Manual: Text Mesh component (legacy)), it says that when you’re typing text into the text property, you can hit alt + return to make a line break. I’m using Windows, so my return button is enter, and when I type and hit alt + enter, nothing happens. I want to have “Hello” on one line, then “World” on the second line, but nothing’s happening. Is this a mac exclusive feature or something?

Have you tried:

var str ="Hello

World";

?