Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

(MeowChow) Re: substring exists at particular postion?

by MeowChow (Vicar)
on May 23, 2002 at 09:49 UTC ( #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


Comment on (MeowChow) Re: substring exists at particular postion?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-07-29 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (212 votes), past polls