Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Find the common beginning substring in an array of strings

by Neighbour (Friar)
on Jun 07, 2012 at 07:59 UTC ( [id://974899]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print 'Common prefix for first sample [' . getleastcommonprefix(@array
    +_of_test_names) . "]\n";
    print 'Common prefix for second sample [' . getleastcommonprefix(@seco
    +nd_sample_array) . "]\n";
    
  2. or download this
    Common prefix for first sample [History - Family History - Suite with 
    +Patient - Clinic - ]
    Common prefix for second sample [WorkCenter - List Patients - ]
    

Log In?
Username:
Password:

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

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

    No recent polls found