longest_common_prefix: A Function That Returns the Longest Common Prefix.

View source: R/utils.R

longest_common_prefixR Documentation

A Function That Returns the Longest Common Prefix.

Description

This function returns the longest common prefix.

Usage

longest_common_prefix(s, split = "", fixed = FALSE)

Arguments

s

A vector of character.

split

character passed to strsplit function as split.

fixed

boolean passed to gsub function as fixed.


fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.