Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(MeowChow) Re: substring exists at particular postion?

by MeowChow (Vicar)
on May 23, 2002 at 09:49 UTC ( [id://168720]=note: print w/replies, xml ) Need Help??


in reply to substring exists at particular postion?

if (substr ($str1, $pos) =~ /^\Q$str2/) { ... } # or if (substr ($str1, $pos, length $str2) eq $str2) { ... }
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://168720]
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-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found