Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method String.common_prefix()


Method common_prefix

string common_prefix(array(string) strs)

Description

Find the longest common prefix from an array of strings.