kill.prefix.whitespace: kill prefix whitespace

kill.prefix.whitespaceR Documentation

kill prefix whitespace

Description

Figure out what the whitespace preceding the example code is, and then delete that from every line.

Usage

kill.prefix.whitespace(ex)

Arguments

ex

character vector of example code lines.

Value

Character vector of code lines with preceding whitespace removed.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre], Keith Ponting [aut], Thomas Wutzler [aut], Philippe Grosjean [aut], Markus Müller [aut], R Core Team [ctb, cph]


inlinedocs documentation built on Oct. 19, 2023, 1:06 a.m.