in reply to Search an Array Question

I'd be happy to try to help, but honestly I'm not sure what you are looking for. Please include some sample data and expected output that can be used to verify solutions to your problem.

Also, it's generally not a good idea to hard code authentication credentials into your script (hint, hint). Reading from the command line or accessing an environment variable would be better.

Replies are listed 'Best First'.
Re^2: Search an Array Question
by rogermills (Initiate) on Nov 10, 2009 at 17:19 UTC
    My bad Here is the data
    15485 88 dbaril1, sthiaga, vgamji1 15500 88 jyoung1 15502 88 deure, sciftci
    What i want is if bug ID 15485 is found store the whole line in a string. The output should be like this with only the name not the number
    dbaril1, sthiaga, vgamji1