DecodeText
This Flow Script tutorial explains how to use the DecodeText function with syntax and examples.
Last updated
Was this helpful?
This Flow Script tutorial explains how to use the DecodeText function with syntax and examples.
The DecodeText function decodes text encoded as binary data (from a BLOB database column or a File Gallery interaction item). The second argument specifies the encoding from which to decode. Valid values for this argument can be found in the "encodings" system variable available in all workflows.
The syntax for the DecodeText function is:
DecodeText(data, encoding)
data - the input which is to be decoded.
encoding - the encoding from which to decode. Valid values for this argument can be found in the "encodings" system variable available in all workflows.
The DecodeText function returns a string.
Let's look at some DecodeText function examples and explore how to use the DecodeText function.
DecodeText(myFile.data, encodings.Windows1252)
Result: contents of myFile.data, decoded using the Windows 1252 Character SetLast updated
Was this helpful?
Was this helpful?