[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             STRTRAN             |
+---------------------------------+
STRTRAN(<expC1>, <expC2>
        [, <expC3>] [, <expN1>]
        [, <expN2>])

-----------------------------------
Searches character expression for occurrences of another character
expression and replaces the occurrences.
Return value - Character
-----------------------------------

<expC1>
        Character expression that is searched.

<expC2>
        Character expression that is searched for in <expC1> is specified by
<expC2>.  The search is case-sensitive .

<expC3>
        Search character expression <expC2> is replaced by the character
expression <expC3>.  If <expC3> is omitted, <expC2> is replaced with the
null string.

<expN1>
        Optional numeric expression <expN1> specifies which occurrence of
<expC2> begins the replacement.

<expN2>
        Optional numeric expression <expN2> specifies number of occurrences of
<expC2> to be replaced.  If <expN2> is omitted, all occurrences of
<expC2> are replaced.

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

See Also:  STUFF(), SYS(15) Character translation

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

See Also: STUFF() SYS(15) Character translation
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson