Strand Function

Top  Previous  Next

Function:

Calculates logical AND on data in str1 and str2 arguments.

Syntax:

strand(byref str1 as string, byref str2 as string) as string

Returns:

Result of logical AND operation.

See Also:

stror, strxor

 


Part

Description

str1

Argument 1.

str2

Argument 2.

Details

This function treats data in str1 and str2 as two byte arrays. Logical AND operation is performed on corresponding byte pairs (first byte of str1 AND first byte of str2, etc.).

If one of the arguments contains less bytes, then this argument is padded with zeroes prior to performing logical AND operation.