index()

Returns the position of the first occurrence of a string or character in a string; such as, returns the position of the first occurrence of str2 in str1 (where, n is an integer >= 0, where 0 is the first character and −1 = is not found).

Syntax:

index(str1, str2);

where

str1 is a string.

str2 is a string to search for.

Example:
decl pos;
pos = index("hello", "e");      //returns 1

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.

Calculate Equations
Insert Equations from File
Netlist with Node Names

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