get_suffix {DEP} | R Documentation

## Obtain the longest common suffix

### Description

`get_suffix` returns the longest common suffix of the supplied words.

### Usage

    get_suffix(words)

### Arguments

`words` | Character vector, A list of words.

### Value

A character vector containing the suffix

### Examples

    # Get suffix
    names <- c("xyz_rep", "abc_rep")
    get_suffix(names)

[Package DEP version 1.6.1 Index]