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.


tilltnet/egor documentation built on Feb. 12, 2024, 3:21 a.m.