Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Get a known substring from a string

by johngg (Canon)
on Sep 09, 2016 at 21:29 UTC ( [id://1171486]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    johngg@shiraz:~ > perl -Mstrict -Mwarnings -E '
    my $find = q{thispart};
    ...
    ksguhdipghisosipghthispartudirlhgdr
    thispart
    ksguhdipghisosipghudirlhgdr
    
  2. or download this
    johngg@shiraz:~ > perl -Mstrict -Mwarnings -E '
    my $find = q{thatpart};
    ...
    thatpart
    ksguhdipghisosipghthispartudirlhgdr
    Substring not found
    
  3. or download this
    johngg@shiraz:~ > perl -Mstrict -Mwarnings -MData::Dumper -E '
    my $idStr = q{381980767204};
    ...
                );
    ID 7204 found
    ID 6720 not found
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found