Thx, i slower but works:) and next question : ho to find Char in collection ?
julia> str="abc"
"abc"
julia> findin(str,"c")
1-element Array{Int64,1}:
3
julia>
julia> temp=collect(graphemes(str))
3-element Array{SubString{String},1}:
"a"
"b"
"c"
julia> findin(temp,"c")
0-element Array{Int64,1}
julia> findin(temp,'c')
0-element Array{Int64,1}
julia> find(temp,'c')
ERROR: MethodError: no method matching find(::Array{SubString{String},1}, ::Char)
Closest candidates are:
find(::Function, ::Any) at array.jl:1082
find(::Any) at array.jl:1116