Le jeudi 10 avril 2014 17:19:12 UTC+2, Tony Kelman a écrit : > > help> setdiff > > well, findin returns the positions of the elements, not the elements themselves. This is quite different.
julia> findin("honolulu","ou")' 1x4 Array{Int64,2}: 2 4 6 8 julia> intersect("honolulu","ou")' 1x4 Array{Char,2}: 'o' 'o' 'u' 'u' # not sure why they are returned twice. Thanks for the suggestion though.