function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
otbuildotbuild 

Convert String to Byte in Apex

Hi,

 

How do we convert String to Byte?

 

Thanks,

Prasad

otbuildotbuild

Thanks, John for suggesting Blob data type. I could resolve this issue in my code using Blob and EncodingUtil classes.

bakul.patelbakul.patel
Hi, if possible, can you please post those few lines of code?