Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to remove everything after last occurrence of a string?

by kcott (Archbishop)
on Jun 07, 2022 at 10:43 UTC ( [id://11144479]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    
        return $path;
    }
    
  2. or download this
    1..4
    ok 1
    ok 2
    ok 3
    ok 4
    
  3. or download this
                 Rate  regex1  regex0 rindex0 rindex1
    regex1   809214/s      --     -7%    -69%    -75%
    ...
    regex0   877972/s      6%      --    -66%    -73%
    rindex0 2579110/s    212%    194%      --    -21%
    rindex1 3260240/s    294%    271%     26%      --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found