Home: Perl Programming Help: Intermediate:
Post deleted by prashant



prashant
New User

Oct 9, 2012, 3:15 AM


Views: 2752
Post deleted by prashant

 


BillKSmith
Veteran

Oct 9, 2012, 8:40 AM


Views: 2728
Re: [prashant] Joining two strings by matching positions of alphabet in both strings

Your code has several problems.

Your attempt to accept multi-line user input will not work. I recommend that you limit the input to one line. (You can generalize it later if needed)

The way you split the string loses all the E's. Use a "zero-width positive lookbehind assertion" in your regular expression.

I have not yet worked out how to form the output. I think it involves pushing array references into a buffer in the correct order. I will get back to you later on this.
Good Luck,
Bill


prashant
New User

Oct 9, 2012, 9:50 PM


Views: 2718
Re: [BillKSmith] Joining two strings by matching positions of alphabet in both strings

Thanks BillKSmith!
I very much appreciate your help. But I realized think this is not the right place to post this question. That's why I posted it at different place

http://perlguru.com/gforum.cgi?post=72075#72075

To prevent the duplication I'm deleting the post from here.

Looking forward to your help once again.

Thanks.


(This post was edited by prashant on Oct 9, 2012, 11:10 PM)