powered by
Convert strings to logical.
castLogical(x)
A string, converted to logical.
A string.
castLogical("1")
Run the code above in your browser using DataLab