Contents | Index | < Browse | Browse >
usage: BITXOR(string1,string2[,pad])
default: bitxor(string1) = bitxor(string1,'20'x)

-the strings are logically exclusively-ORed together
-the result is the longer of the two operand strings
-if a pad character is supplied, the shorter string is padded on the right and the remainder of the longer string is appended to the result
-with only the 1st argument supplied BITXOR() functions acts like a shorthand function to swap case. (Thanks to Stefan Haubenthal for pointing this one out).

Example:
say bitxor('Test') outputs ---> tEST