Hi,

I think you are pushing it too far - there is no 'string search' without an
index. And besides, these things are just better done by a few lines of
code - and if your array is too big, then you should create the index...

roman


On Thu, Jul 25, 2013 at 9:06 AM, Rohit Kumar <rohit.kku...@gmail.com> wrote:

> Hi,
>
> I have a scenario.
>
> String array = ["Input1 is good", ""Input2 is better", "Input2 is sweet",
> "Input3 is bad"]
>
> I want to compare the string array against the given input :
> String inputarray= ["Input1", "Input2"]
>
>
> It involves no indexes. I just want to use the power of string search to do
> a runtime search on the array and should return
>
> ["Input1 is good", ""Input2 is better", "Input2 is sweet"]
>
>
>
> Thanks
>

Reply via email to