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

Re: The Deceiver

by diotalevi (Canon)
on Aug 13, 2004 at 13:33 UTC ( [id://382661]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $whatever_index = index lc $text , $whatever;
    return( substr( $text, 0, $whatever_index ),
            substr( $text, $whatever_index + length $whatever ) );
    
  2. or download this
    my $whatever_index = index lc $text, $whatever' ;
    my $whatever_length = length $whatever;
    return unpack "a" . $whatever_index . "x" . $whatever_length . "a*", $
    +text;
    
  3. or download this
    if ( $text =~ /whatever/i )
    {
        return( substr( $text, 0, $-[0] ),
            substr( $text, $+[0] );
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found