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 July 17, 2025, 12:08 a.m.