Could you please use the code tag button (pre) for your code next time? Thanks.
In your first case there’s one single string with line breaks (a so called “here string”) and the second case is about multiple strings (an array of strings) … like this …