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

BLANK STRING

Name:
    BLANK STRING
Type:
    Let Subcommand
Purpose:
    Create a blank string of specified length.
Description:
    It may sometimes be convenient to create a blank string of a given length. This is most likely to be useful when concatenating strings where it is desired to have a specified number of blank spaces between the separate strings.
Syntax:
    LET <sout> = BLANK STRING WORD <nlen>
    where <sout> is the name of the resulting string;
    and <nlen> is a number or parameter that specifies the number of blanks to include in the string.
Examples:
    LET SOUT = BLANK STRING STRING WORD 1
    LET SOUT = BLANK STRING STRING WORD NLENGTH
Note:
    The requested number of blanks must be a positive integer value between 1 and 50,000. Real numbers will be rounded to the closest integer. For values outside this range, an error is reported and no output string is generated.
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:
    2017/01
Program:
     
    let nlen = 1
    let sblank = blank string nlen
    let s1 = One
    let s2 = Two
    let s3 = Three
    let sout = string concatenate s1 sblank s2 sblank s3
    print sout
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 04/04/2018
Last updated: 04/04/2018

Please email comments on this WWW page to alan.heckert@nist.gov.