midstr()
Returns a piece of a string (the dissected string), starting and ending at the given indices. An end index of −1 indicates the end of the string. If the start index is also negative, it indicates a count from the end of the string.
Syntax:
midstr(str, startIndex, endIndex);
where
str is the string to operate on.
startIndex is the starting position.
endIndex is the ending position.
Example:
The example returns the string "ll".
decl mstr;
mstr = midstr("hello", 2,3);
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.
Strip Alpha
Substring Character Position
Short File Name
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 ![]()