OpenSTA logo OpenSTA SCL Reference
LEFTSTR Character Function

LEFTSTR Character Function

This is a Character Function and can only be referenced within a SET command. It returns a character string containing the first length characters of the source string.

Function Definition:

~LEFTSTR(length, string)

Returns:

A character expression.

length

An integer variable or value defining the number of characters to extract from the beginning of string to form the returned value.

string

A character variable or value to have the return string extracted from the beginning of.

Example:

SET New-Str = ~LEFTSTR(Length, Name)

<<<
prev page
^^^
section start
>>>
next page