Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 contemplating the Monastery: (13)
As of 2014-10-22 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls