get_prefix: Get the common prefix of words

get_prefixR Documentation

Get the common prefix of words

Description

Get the common prefix of words

Usage

get_prefix(words)

Arguments

words

A character vector of words

Value

A character string that is the common prefix of all words

Examples

get_prefix(c("animal", "antelope", "anteater"))


NicWir/VisomX documentation built on Dec. 8, 2024, 1:27 a.m.