OpenSTA logo OpenSTA SCL Reference
RIGHTSTR Character Function

RIGHTSTR Character Function

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

Function Definition:

~RIGHTSTR(length, string)

Returns:

A character expression.

length

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

string

The character variable or value to extract the last length characters of.

Example:

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

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