The BitXor function returns the result of exclusive ORing two strings together, bit by bit.
Portability note: when the result will be treated as a sequence of character codes, different character encodings can occur in different machine environments.
|result = BitXor( [ string1 [, [string2] [, pad ] ] ] )|
say BitXor( '12'x, '22'x ) -- shows the character code associated with '30'x
say BitXor( '1211'x, '22'x ) -- shows the character codes associated with '3011'x
say BitXor( 'C711'x, '222222'x, '40'x ) -- shows the character codes associated with 'E53362'x
say BitXor( '1111'x, , '4D'x ) -- shows the character codes associated with '5C5C'x