This does not work in version 1.1.0
julia> A= ["Hey","Hello","Hi"];
julia> B= ["Hey","Hi","Goodbye","Bye"];
julia> boolianIndex=occursin.(A,B);
ERROR: DimensionMismatch("arrays could not be broadcast to a common size")
Stacktrace:
[1] _bcs1 at ./broadcast.jl:438 [inlined]
[2] _bcs at ./broadcast.jl:432 [inlined]
[3] broadcast_shape at ./broadcast.jl:426 [inlined]
[4] combine_axes at ./broadcast.jl:421 [inlined]
[5] instantiate at ./broadcast.jl:255 [inlined]
[6] materialize(::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1},Nothing,typeof(occursin),Tuple{Array{String,1},Array{String,1}}}) at ./broadcast.jl:753
[7] top-level scope at none:0