Define the newline string:
newline = string(10B)
Then incorporate it into the text:
myTwoLineString = ‘First Line’ + newline + ‘Second Line’
From: https://www.nv5geospatialsoftware.com/Support/Forums/aft/1281, entitled:
Character escapes for strings in IDL (carriage returns, etc)