my question might confusing.
Please write a code for me ....
No, it's not the question that's "confusing." Rather, it's YOU who is confusing the Monastery's objectives with your desires.
The way PM works -- or, "is supposed to work" -- is by HELPING folks who have questions learn how to answer them. Yes, -- sigh -- sometimes we do write code rather than providing answers that help the original posters work out solutions, but the bottom line is in the observation that "If you give a man a fish, he eats for a day; if you teach him how to fish, he eats for the rest of his life."
So, please, apply your best efforts to the solutions intrinsic-to or hinted-at in some of the prior replies. And, remember, "there's more than one way to do it."
In reply to Re^3: Problem with reading multi-line
by ww
in thread Problem with reading multi-line
by sarshads
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |