common_prefix: Longest common prefix of a set of strings.

View source: R/read.egonet.R

common_prefixR Documentation

Longest common prefix of a set of strings.

Description

Longest common prefix of a set of strings.

Usage

common_prefix(x)

Arguments

x

a character vector.

Value

A character vector that is the longest common substring at the start of each of the input vectors.


egor documentation built on March 31, 2023, 11:33 p.m.