REMOVE$ returns a document without lines containing specific strings.


Syntax

REMOVE$(Document$, ImpVar_1, ImpVar_2, ... , ImpVar_n)

Arguments 

Remarks

  1. Lines containing one or more of the strings ImpVar_1, ImpVar_2, ... , ImpVar_n are removed including the following CrLf (Carriage return Linefeed)

Examples

Let Document$ contains the text:

"Turning and turning in the widening gyre 
The falcon cannot hear the falconer; 
Things fall apart; the centre cannot hold; 
Mere anarchy is loosed upon the world 
The blood-dimmed tide is loosed, and everywhere 
The ceremony of innocence is drowned; 
The best lack all conviction, while the worst 
Are full of passionate intensity"


The syntax

REMOVE$(Document$, "and", "ceremony")


returns

"The falcon cannot hear the falconer; 
Things fall apart; the centre cannot hold; 
Mere anarchy is loosed upon the world 
The best lack all conviction, while the worst 
Are full of passionate intensity"


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview