Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Text match

by lima1 (Curate)
on Oct 14, 2009 at 15:18 UTC ( #801110=note: print w/ replies, xml ) Need Help??


in reply to Text match

See for example How do I retrieve the position of the first occurrence of a match? to get the position of the match. Then you could just use substr.

Update: didn't read your question carefully, thought you were talking about characters, not lines.


Comment on Re: Text match

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (17)
As of 2015-07-30 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls