Is there a Julia function/method to find the location(s) of a sequence of 
elements in a 1-D array?

With strings, you can do:

    search("longstring", "str")

    5:7

so with arrays it would hopefully be something like:

    searcharray( [1, 3, 5, 7, 9, 11, 13], [5, 7, 9])

    3:5



Reply via email to