I am getting mad, i need to create a token using this operator
PHP
a = "hello";
b = "world";
token = a | b;
well i need create the same in java [android] but i ever get error.
I alredy try to:
- cast the 2 strings to long but obvisuly i get an error on casting
- cast the 2 string in BitSet
- cast the 2 strings in Bit Array
but the final result was ever an error.
Someone can suggest me some tips please ?