Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt


Tip

HTTP collectors and exporters retain all newline characters in the HTTP and XML data. To strip the newlines, add the following expression to the attribute expressions that use the data from the HTTP collector or exporter.

Code Block
.replaceAll(in.value, "[\r\n]", ""

JSON data automatically replaces newlines with spaces.


Used in File ExporterFile Collector

...