Skip to contents

Remove Empty Elements at the Start or End of a Vector

Usage

trim_vector(x)

Arguments

x

vector of character

Value

x with empty elements at the beginning and end of x

being removed