Public Function CoerceToBooleanFast( _ ByVal vString As String _ ) As Boolean
CoerceToBooleanFast(Chr$(0) + Chr$(0)) = False CoerceToBooleanFast(Chr$(255) + Chr$(255)) = TrueSee also:
CoerceToBoolean Function MakeBooleanFast FunctionvString: The string whose first two characters are to be interpreted as a Boolean value.
Note: This function first converts the string from Unicode to the default code page of the system.
v1.3 Change: Removed 16-bit support from this function.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.