str_chop {agvgd}R Documentation

Chop a string into sub-strings of fixed width

Description

Chop a string into sub-strings of fixed width

Usage

str_chop(x, width = 50)

Arguments

x

A single string. This function is not vectorised, so x must be of length 1.

width

Length of the chopped pieces.

Value

A character vector of sub-strings of length width.


[Package agvgd version 0.1.2 Index]