Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Longest Common Substring

by Enlil (Parson)
on Apr 09, 2003 at 19:15 UTC ( [id://249362]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $needle = 'i pushed the lazy dog into a creek, the quick brown fox 
    +told me to';
    my $haystack = 'the quick brown fox jumps over the lazy dog';
    
  2. or download this
    require String::LCSS;
    my $needle = 'i pushed the lazy dog into a creek, the quick brown fox 
    +told me to';
    my $haystack = 'the quick brown fox jumps over the lazy dog';
    my $longest = String::LCSS::lcss ( $needle, $haystack );
    print $longest, "\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found