Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Trim Two Characters On Line

by BillKSmith (Monsignor)
on Oct 23, 2020 at 03:34 UTC ( [id://11123069]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    substr( $line, -2, 2, '' ) if $line =~ /sum/;
    
  2. or download this
    substr( $line, -3, 2, '' ) if $line =~ /sum/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found