content
Converts the contents of a stream into a string. You can optionally specify the character encoding to use.
Signature
content(stream as stream, encoding as string="UTF-8") -> string |
Parameters
Name | Type | Description |
|---|---|---|
stream | stream | Specifies the stream source. |
encoding | string | Specifies the encoding to use. The default encoding is UTF-8. |
Example
For an example that uses this expression function, see Adding Error Handling to a Job.