Get String from Bytes and Bytes from String
  • 23 Oct 2024
  • 1 Minute to read
  • Dark
    Light

Get String from Bytes and Bytes from String

  • Dark
    Light

Article summary

Step Details

Introduced in Version---
Last Modified in Version7.12.0
LocationData > Text

The Get Bytes from String step takes in a string and converts it to a byte array which is output as a result. 

The Get String from Bytes step takes in a byte array and converts it to a string which is output as a result. 

These steps use ASCII encoding - that means that only ASCII characters will be accepted. Any inputs that use accented characters or non-Latin characters will have those replaced by a '?' symbol. This will cause issues.

Other steps that can used instead are the Get String From Bytes With Encoding and Get Bytes From String With Encoding.



Get Bytes from String Properties

Inputs

PropertyDescriptionData Type
StrString to get bytes from. Only accepts ASCII characters.String

Outputs

PropertyDescriptionData Type
GetBytesFromString1_Output
List of Bytes that was retrieved from the String as input. List of Byte

Get String from Bytes Properties

Inputs

PropertyDescriptionData Type
BytesList of Bytes to get the string from. Only returns ASCII characters.List of Byte

Outputs

PropertyDescriptionData Type
GetStringFromBytes1_Output
The string that was retrieved from the List of Bytes as input.
String



Was this article helpful?