xonsh.lib.string

xonsh.lib.string.commonprefix(m: Iterable[str]) → str[source]

Given an iterable of strings, returns the longest common leading substring