%dw 2.0 import lines from dw::core::Strings output application/json --- lines("hello world\n\nhere data-weave")
Returns an array of lines from a string.
Introduced in DataWeave version 2.4.0.
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!Take our latest survey!