rightstr()

Returns the right portion of a string value, truncating or padding on the left with blanks if necessary until the length specified is obtained.

Syntax:

rightstr(str, length);

where

str is the string to truncate or pad.

length is the new string length.

Example:
decl mystr;
mystr = rightstr("hello", 2);      //creates the string "lo"

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.

Add Extension to File Name
Change Component Scope to GLOBAL
Replace String

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources