<<

Contents

Search

>>

 

RSTRIP

 

 

Instruction

 

 

Syntax:

RSTRIP(<String Variable>,<Count>)

 

<String Variable>

= <STRING-VARIABLE>

<Count>

= <NUM-EXPRESSION>

 

 

Meaning:

Removes characters at the end of a string.

 

RSTRIP deletes <Count> characters at the end of <String-Variable>.

 

Parameter:

String Variable

String variable

Count

Number of characters to delete

 

Sample:

H$ = "Hello"

RSTRIP(H$,3) /* H$ contains "He"

/* RSTRIP(H$,3) is equivalent with H$ = LEFT$(H$,LEN(H$) - 3)

 

See also:

RSTRIP$

LSTRIP

LSTRIP$

MSTRIP

MSTRIP$

LEFT$

RIGHT$