Instance Property

outputFieldSeparator

Returns a string used as a delimiter in the string output by the action.

Declaration

var outputFieldSeparator: String { get }

Discussion

Upon completion, the Automator framework converts an output string provided by the action into an array (or list), to be passed to the next action in the workflow for further processing. The elements in this array are derived from fields delimited by the output field separator. The default value is the separator character returned by inputFieldSeparator. Override this method if you want a different delimiter for output.

See Also

Handling the I/O separator character

var inputFieldSeparator: String

Returns a string to be used as the delimiter between items in the string passed to the action through standard input.

var remapLineEndings: Bool

Returns whether you want automatic remapping of carriage return (\r) to newline (\n) characters in the input string.