API Plugin of the Month
Reply
Highlighted
Occasional Contributor
Accepted Solution

what`s the char for new line in Description of model item.

I would like to set description for test case from codes -- Groovy.

 

But I cannot find the proper char for new line, I have tried many possible values.

 

What`s the char representing the new line?

 

Thanks

Occasional Contributor

Re: what`s the char for new line in Description of model item.

finally, I found the new line char could be got from System.getProperty("line.separator")

 

it works.