Expression Language
Also available as:
PDF

escapeCsv

Description: This function prepares the Subject to be inserted into CSV document by escaping the characters in a String using the rules in RFC 4180. The function correctly escapes quotes and surround the string in quotes if needed.

Subject Type: String

Arguments: No arguments

Return Type: String

Examples: If the "message" attribute is 'But finally, she left', then the Expression ${message:escapeCsv()} will return '"But finally, she left"'