Remove array value and add a new one

Hi all,

i would like to replace a old array value(eg. Chris/Accounting/UUTD) to a new one. i looked for some guidelines on the ibm notes

http://www-01.ibm.com/support/docview.wss?uid=swg21097082 http://www-01.ibm.com/support/docview.wss?uid=swg21097082

I am not sure that it is possible to do it.

Thanks in advance for any suggestions.

Subject: Here goes

LotusScript
Replace(, ,)

Example:
newArray = Replace(oldArray, “Chris/Accounting/UUTD”, “Chris/Management/UUTD”)

Formula
@Replace(, ,)

Example:
newArray := @Replace(oldArray, “Chris/Accounting/UUTD”, “Chris/Management/UUTD”)

Note that, in both cases, array elements are only replaced if they exactly match . For example, if you need case-insensitive replacement, you’d have to modify the code similar as in the following snippets.
newArray = Replace(oldArray, “Chris/Accounting/UUTD”, “Chris/Management/UUTD”,1)
or
newArray := @Replace(@LowerCase(oldArray), @LowerCase(“Chris/Accounting/UUTD”), “Chris/Management/UUTD”)