str_chop: Chop a string into sub-strings of fixed width

View source: R/str_chop.R

str_chopR 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.


maialab/agvgd documentation built on Jan. 10, 2024, 6:08 p.m.