Deletes one or more characters in a string.

NewString := DELCHR(String[, Where][, Which])

Parameters

String

Type: Text constant or code

The input string.

Where

Type: Text constant or code

Specifies where to delete characters.

You can include one or more of the following characters in the Where string:

  • =   To delete any character in String that matches a character in Which (default)

  • <   To delete any leading character in String that matches a character in Which

  • >   To delete any trailing character in String that matches a character in Which

Which

Type: Text or code

Specifies the characters that you want to delete.

The default is a space character.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also