Maybe

 A2 =   map( (x)->convert(ASCIIString,x), A)

and then 

f = Bool[contains("b",i) for i in A2]

or 

f = Bool[contains("b",convert(ASCIIString,i) for i in A]

....Strings are not my speciality :0)



On Wednesday, July 8, 2015 at 3:26:42 PM UTC-3, paul analyst wrote:
>
> Big Thx , but "b",i in oposit order must like below... i,"b" 
>
> But  my aray is 2261-element Array{Any,1}:  , the trick working only 
> with Array{ASCIIString,1}: , How convert Array Any to Array ASCIIString ? 
>
> julia> [contains("b",i) for i in A] 
> 4-element Array{Any,1}: 
>   false 
>   false 
>   false 
>   false 
>
> julia> A 
> 4-element Array{ASCIIString,1}: 
>   "aaa" 
>   "aab" 
>   "aac" 
>   "aba" 
>
>
> julia> [contains(i,"b") for i in A] 
> 4-element Array{Any,1}: 
>   false 
>    true 
>   false 
>    true 
>
> W dniu 2015-07-08 o 19:58, Eduardo Lenz pisze: 
> > [contains("b",i) for i in A] 
>
>

Reply via email to