From Xojo Documentation


String.ChrByte(value As Integer) As String

New in 2019r3

Supported for all project types and targets.

Returns a single byte String from the specified value.


This function returns a single byte string whose value is specified. Use ChrByte instead of Chr when working with binary data.

Sample Code

Dim s As String
s = String.ChrByte(32) // returns a space with a nil TextEncoding
s = String.ChrByte(13) // returns carriage return with a nil TextEncoding

See Also

String, String.AscByte, String.IndexOfBytes, String.LeftBytes, String.Bytes, String.MiddleBytes, String.RightBytes