http://qs1969.pair.com?node_id=768360


in reply to Re: Check for string in array and substitue
in thread Check for string in array and substitue

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: Check for string in array and substitue
by Corion (Patriarch) on Jun 04, 2009 at 09:29 UTC

    You have repeated this bad explanation several times already. Why do you think that repeating the same thing over and over will give you a different solution?

    You still haven't explained what problems you have with the solutions already given, other than "Actually I am not able to proceed". I translate that to "I am too lazy to study the problem". We can't help you with your lazyness.

    Please review wfsp's good solution and explain to us in detail why it does not work for you. Other than that, we can't help you further.

    If you cannot explain how wfsp's solution does not work for you, I can only recommend hiring somebody who will either teach you problem solving or who will program a solution for you.

Re^3: Check for string in array and substitue
by ig (Vicar) on Jun 04, 2009 at 10:19 UTC

    The solution provided by wspf does what you describe. The code you are using is not what wspf provided. Your sample of required output in your response to that post looks exactly like the output from the provided code. Is there a difference that I am not seeing?

    update Sorry, I didn't read Corion's post before posting the above, which is both redundant and inferior.