[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|               ATC               |
+---------------------------------+
ATC(<expC1>, <expC2> [, <expN>])

-----------------------------------
Returns position of one character expression within another without
regard for case.
Return value - Numeric
-----------------------------------

<expC1>
        Expression to search for.

<expC2>
        Expression to be searched.

<expN>
        Specifies which occurrence of <expC1> to look for (searches for the
<expN>th occurrence of <expC1> in <expC2>).

+---------------------------------+
|            Examples             |
+---------------------------------+
STORE 'Now is the time for all good men ...' TO string
STORE 'IS THE' TO find_str
? ATC(find_str,string)

STORE 'IS' TO find_str
? ATC(find_str,string)

? ATC('now',string)

-----------------------------------

See Also:  AT(), LEFT(), RIGHT(), SUBSTR()

-----------------------------------

See Also: AT() LEFT() RIGHT() SUBSTR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson