<<

Contents

Search

>>

 

NOBLANK$

 

 

Function

 

 

Syntax:

NOBLANK$(<Type>,<String Expression>)

 

<Type>

= <NUM-EXPRESSION>

<String Expression>

= <STRING-EXPRESSION>

 

 

Meaning:

Removes leading or trailing spaces of a string and returns the modified string.

 

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

 

Parameter:

Type

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

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

String Expression

String

 

Sample:

A$ = "  Input  "

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

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

 

See also:

NOBLANK

SPACE$

INITIALIZE

CLEAR