Returns a Boolean value based on the specified string.
If the specified string starts with a Y, T, or 1 (one), regardless of case or following characters, the function returns True.
If the specified string starts with N, F, or 0 (zero), regardless of case or following characters, the function returns False.
If the specified string does not represent a valid boolean value, an error is returned.
StrToBool(AString: String): Boolean
StrToBool(0)
The return value is False.