Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REMOVE$ returns  returns a document without lines containing specific strings.

Syntax

...

Arguments 

  • Document$ is

     is a string containing the source document.

  • ImpVar_1, .., ImpVar_n are

     are strings that define which lines should be removed (i.e. the lines containing that string)

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)

...

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: Function overview | Attribute overview | Constants overview | Dimensions overview