Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Ways to delete start of string

by BrowserUk (Patriarch)
on May 27, 2008 at 18:39 UTC ( [id://688720]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ## Either
    substr( $x, 0, index( $x, $char ), '');
    ## or
    $x =~ s[(^/*$char)][];
    
  2. or download this
    for my $char ( unpack '(A1)*', substr $x, 0, 100, '' ) {
        ##
    }
    
  3. or download this
    use strict;
    use warnings;
    ...
    }
    
    cmpthese(-3, \%tests);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found