SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Vol 1

STRING REMOVE PUNCTUATION

Name:
    STRING REMOVE PUNCTUATION
Type:
    Let Subcommand
Purpose:
    Remove the punctuation characters from a string.
Description:
    The following punctuation characters will be removed from the string

      !
      "
      '
      #
      $
      %
      &
      \
      (
      )
      *
      +
      ,
      -
      .
      /
      :
      ;
      <
      =
      >
      ?
      @
      [
      ]
      ^
      _
      `
      ~
      {
      }
      |

    If you would like to define your own list of characters to delete, you can use the command STRING DELETE.

Syntax:
    LET <sout> = STRING REMOVE PUNCTUATION <sorg>
    where <sout> is the name of the resulting string;
    and <sorg> is the name of the original string.
Examples:
    LET SOUT = STRING REMOVE PUNCTUATION STIN
Note:
    The name of the new string can be the same as the original string. For example,

      LET STR = STRING REMOVE PUNCTUATION STR

    In this case, STR will now contain the the string with punctuation characters removed rather than the original string.

Note:
    The string on the right hand side of the equal sign must be a previously existing string. That is, expressions are not allowed. For example, the following will result in an error message

    you need to do

    The name on the left hand side of the equal sign may be a previously existing string. However, if it is a previously existing parameter, variable, or matrix name, an error will be reported and the requested string will not be created.

Note:
    The total number of characters that DATAPLOT can use for storing functions and strings is set when DATAPLOT is built. The current default (11/2008) is 50,000 characters. Previous versions may set this limit at 1,000 or 10,000 characters. This limit applies to the combined number of characters for all functions and strings.
Default:
    None
Synonyms:
    None
Related Commands: Applications:
    Data Management
Implementation Date:
    2018/10
Program:

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 10/10/2018
Last updated: 10/10/2018

Please email comments on this WWW page to [email protected].