<<

Contents

Search

>>

 

NOBLANK

 

 

Instruction

 

 

Syntax:

NOBLANK(<Type>,<String Variable>)

 

<Type>

= <NUM-EXPRESSION>

<String Variable>

= <STRING-VARIABLE>

 

 

Meaning:

Removes leading or trailing spaces of a string.

 

Note: With Index File variables the deletion of trailing blanks does not have any effect since the Index File variable is always filled up with blanks until it has the defined length.

 

Parameter:

Type

0: In <String Variable> leading blanks are removed.

otherwise: In <String Variable> trailing blanks are removed.

String Variable

String Variable

 

Sample:

A$ = "  Input  "

NOBLANK(0,A$) /* A$ = "Input  "

NOBLANK(1,A$) /* A$ = "Input"

 

See also:

NOBLANK$

SPACE$

INITIALIZE

CLEAR