Converts a boolean type value to its string representation.
string
Syntax
string bool.ToString()
Returns
The string representation of the boolean value: "true" or "false".
"true"
"false"
Sample
boolSample.rfsvar c = 6 > 2; var d = c.ToString(); trace "Is it ", c, " that 6 > 2? Yes, it is ", d;
boolSample.rfs
var c = 6 > 2; var d = c.ToString(); trace "Is it ", c, " that 6 > 2? Yes, it is ", d;
c.ToString()
"Is it ", true, "that 6 > 2? Yes, it is ", "true"
Figure 327. The trace message output of the script above
Related links
Search Highlighter (On/Off)