Convert Boolean to String

I can’t find a way to convert a boolean into a string. Is this in the StrLib library, or somewhere else? I couldn’t find it there.

Try the HSL Extensions Core library. That has a number of Convert commands:

1 Like


To add to what Eric said, converting any boolean to a string in VENUS will output the string as a 1 (true) or 0 (false), since VENUS recognizes the data type as an integer. Other options to perform this conversion are the HSL default ‘IStr()’ command, the HSLStrLib’s ‘StrIStr()’ command, or HSLUtilLib2’s ‘ToString()’ command. All of these are default libraries/functions available on install.