You could use a slider that controls the character placement of \r code. Set a text animator to words and use the slider to position the carriage return.
Or hard code the two variants into the text layer and use an if statement based on comp width to control which variation to display.