Versions Compared

Key

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

COLUMN$ returns a column of text from a document

Syntax

  1. COLUMN$(Document$, StartPos%, Length%)
  2. COLUMN$(ColNo%, Document$, Delimiter$)

...

"
Item: Manufactured on the basis of:
Model No. 7965 #@# MARIN drawing No. 15617-015
Rudder I #@# MARIN drawing No. 15617-009
Headbox I #@# MARIN drawing No. 15617-009
Bossing I #@# MARIN drawing No. 15617-009
"

Method 1

COLUMN$(document$, 5, 25)

returns:

...

Which seems pretty impractical. For this document, method 2 turns out to be more useful.


Method 2

COLUMN$(2, document$, "#@#")

returns:

...

The function ColumnDocument$ is defined in 2 ways, connected to constraints.

  1. ColumnDocument$ = COLUMN$(Document$, StartPos%, Length%)
    Constraint: ChooseMethod = 1
  2. ColumnDocument$ = COLUMN$(ColNo%, Document$, Delimiter$)
    Constraint: ChooseMethod = 1

...