# CHARREM()

Removes characters from a string

Syntax

  CHARREM (<cDeleteThisCharacters>, <cString>) -> cReducedString

Arguments

  <cDeleteThisCharacters> specifies the characters that should be deleted in <cString> <cString>) is the string that should be processed

Returns

  <cReducedString> is a string where the characters specified in <cDeleteThisCharacters> are deleted

Description

  The CHARREM() function deletes the characters specified in <cDeleteThisCharacters> from <cString>.

Examples

          ? CHARREM(" ", " 1  2  ")   // "12"
          ? CHARREM("3y", "xyz123")   // "xz12"
    Tests
          CHARREM(" ", " 1  2  ") == "12"
          CHARREM("3y", "xyz123") == "xz12"

Status

  Ready

Compliance

  CHARREM() is compatible with CT3's CHARREM().

Platforms

  All

Files

  Source is charonly.c, library is ct3.

See Also

- CHARONLY() WORDONLY() WORDREM()