Remove

See Also: String Functions, Mid, Overstrike, Replace

Purpose

Remove returns a string value consisting of the value of the input string with a specified number of characters removed from a specified location in the string.

Return Type

String

Syntax

(Remove( {host-string}, {position}, {length} ))

Where:

What It Does

Remove returns the value of {host-string} with {length} characters removed, starting at {position}.

Move "This is the the end" To sLine

Move (Remove(sLine, 9, 4)) To sLine

In this example, the Remove function removes the first occurrence of the word "the" from sLine.

Notes