Linebreaks in Scripter

Post Reply
mkis
Member
Posts: 23
Joined: Fri Oct 21, 2011 3:19 pm
Location: Ahaus, Germany
Contact:

Linebreaks in Scripter

Post by mkis »

Hi all,

maybe I' blind, but I do not see the answer:
There is a very long json string in a string variable.
Is it possible to add linebreaks in the scripter window to make such a long string more readable?
When I try return or shift+return, the script can't be saved without syntax errors anymore.

Thanks for your help!
regards,
Michael
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Linebreaks in Scripter

Post by gabrielp »

Where do you want to make the string more readable?

Try adding "\n" to your string.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply