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 May 29, 2024, 12:10 p.m.