Get String from Bytes and Bytes from String
- 23 Oct 2024
- 1 Minute to read
- Print
- DarkLight
Get String from Bytes and Bytes from String
- Updated on 23 Oct 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | --- |
Last Modified in Version | 7.12.0 |
Location | Data > 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
Property | Description | Data Type |
---|---|---|
Str | String to get bytes from. Only accepts ASCII characters. | String |
Outputs
Property | Description | Data Type |
---|---|---|
GetBytesFromString1_Output | List of Bytes that was retrieved from the String as input. | List of Byte |
Get String from Bytes Properties
Inputs
Property | Description | Data Type |
---|---|---|
Bytes | List of Bytes to get the string from. Only returns ASCII characters. | List of Byte |
Outputs
Property | Description | Data Type |
---|---|---|
GetStringFromBytes1_Output | The string that was retrieved from the List of Bytes as input. | String |
Was this article helpful?