Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Method String.common_prefix()


Method common_prefix

string common_prefix(array(string) strs)

Description

Find the longest common prefix from an array of strings.