Returns a Boolean value based on the specified string. If the string starts with a Y, T, or 1 (one) regardless of case or following characters, a True value is returned. If the string starts with N, F, or 0 (zero) regardless of case or following characters, a False value is returned.
StrToBool(String: String): Boolean
String is the string value on which to perform the function.
StrToBool(0)
The return value is False.