form3decadre: removes framing characters from a character string

Description Usage Arguments Value Examples

View source: R/f0.rbsb1.code.r

Description

removes befs before and afts after a character string.

Usage

1
form3decadre(chaine, bef=rbsb.sep0, aft=bef, mxm=Inf)

Arguments

chaine

The character string to refine. Can be a vector.

bef

What to repeatedly remove before.

aft

What to repeatedly remove after.

mxm

Maximum number of tags to remove.

Value

character string after removing

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 form3decadre('IMPORTANT', 'IM', ' ANT');
 form3decadre(c(' OUF ', ' FOU ', ''), ' ', '', 1);

rbsb documentation built on May 31, 2017, 1:45 a.m.