Please see the replies to i wann get some character from a string which has some general good advice and at least a partial solution for you.
Also note that you should not post the same question multiple times. This follow up question is fine to elicit more information, but you should not repost it elsewhere. Remember that the questions that you ask and the answers they receive are a resource other people will use. If you ask the same question in different places the answers will be fragmented and the resource will be less useful to other people.
Please note too that we are not trying to be obstructive when we say "go read the documentation". We are trying to point you to the information that you need so that you have the tools to solve similar problems in the future and so that you know where and how to look for related information.
Generally you will find that we give direct answers to questions that ask "why doesn't this code work? It does this thing and I expected it to do that thing.". We give more general "here's where to look it up" answers to "how do I tackle this general problem" questions.
DWIM is Perl's answer to Gödel
|