Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

truncate variable_name length=_length

Description

The truncate command truncates a string to a specific length.

The first parameter, variable_name, is the name of an existing variable or list element to truncate. The length parameter specifies the length to which the string is truncated.

Parameters

Parameter

Description

variable_name

Name of the existing variable or list element to truncate.

length=length

Length to which the string truncates.

Examples

The following examples assume that a variable, mystring, exists with a beginning value of 12345789.

  • No labels