Can output messages be turned into a string?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By randomuserman

Currently have True and False as outputs and would like to turn them into strings or even “if output = false” if that is possible.
Thank you

:bust_in_silhouette: Reply From: Inces

str() and var2str() are functions that translate anything into string.
So just :

Text = “if output =” + str(output)