form3crop: removes framing characters from a character string

Description Usage Arguments Value Examples

View source: R/rbsa1.code.r

Description

removes befs before and afts after a character string.

Usage

1
2
3
4
 
  form3crop(chaine,bef=rbsa0$sep0$v,aft=bef,
            mxm=Inf,empty=FALSE,
            monitor=rbsa0$monitor$v) 

Arguments

chaine

The character string to refine. Can be a vector.

bef

What to repeatedly remove at the beginning.

aft

What to repeatedly remove at the end.

mxm

Maximum number of tags to remove.

empty

Must remaining empty lines be removed?

monitor

List of constants indicating the monitoring choices, see the rbsa0$monitor$v provided object as an example.

Value

character after removings

Examples

1
2
3
 
  form3crop('IMPORTANT','IM',' ANT'); 
  form3crop(c('   OUF ',' FOU ',''),' ','',1); 

rbsa documentation built on May 2, 2019, 6:07 p.m.