form3frame: surrounds a character string

Description Usage Arguments Value Examples

View source: R/rbsa1.code.r

Description

Adds _bef_ore and _aft_er some characters to a character string (the same for all components when it is a vector).

Usage

1
2
3
 
  form3frame(chaine,bef="(*)_",aft="",imp=FALSE,cr=imp,
             monitor=rbsa0$monitor$v) 

Arguments

chaine

The character string to frame; can be a vector.

bef

What to add at the beginning.

aft

What to add at the end.

imp

Printing when TRUE if not returning

cr

Must a line feed be added?

monitor

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

Value

character string or printing according to imp.

Examples

1
2
3
 
  form3frame('IMPORTANT','<<< ',' >>>'); 
  form3frame('IMPORTANT','<<< ',' >>>',imp=TRUE); 

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