Is there a way to insert a break row in the label programmatically?

Hi all, Is there a way to insert a break row in the label programmatically?

for exampe:

label: this.name + "\n" + this.otherattribute

Thanks in advance.

Hi - I assume you mean the label of a node? If so then, the answer is no - there's no way to force a line break.

Yes, it's the label of a custom node.
Thanks for reply.