Hi I would like to user evaluate(@Replacesubstring( sourcelist;fromlistltolist) in lotus script .
the tolist am getting multivalue from user, how to handle this multivalue in lotus script evaluate function.
thanks
soma
Hi I would like to user evaluate(@Replacesubstring( sourcelist;fromlistltolist) in lotus script .
the tolist am getting multivalue from user, how to handle this multivalue in lotus script evaluate function.
thanks
soma
Subject: @replacesubstring
Please don’t use Evaluate() in Lotusscript when you have perfectly fine native functions. There are a few (very few!) exceptions when you need to use Evaluate(), but I know vvery few programs that actually need it.
It seems like some programmer´s, who only used @Formula before, tend to write their Lotusscript code full of Evaluate(), instead of actually learning Lotusscript and the DOM classes… That’s just being lazy. It also makes the code much harder to debug, and harder to maintain in the future.
If any consultant/programmer/consulting company I hired to develop a Notes/Domino application came back with code containing Evaluate() statements when not neded, I would not accept that code, and probably terminate the contract, based on incompetence. If you need/use Evaluate() for simple/basic functionality already available in Lotusscript, in my opinion you should stay away from writing Lotusscript code/agents…
Subject: RE: @replacesubstring
Hi Karl I try to avoid using Evaluate ![]()
thanks
soma
Subject: Use LS ‘Replace’ instead
The LS Replace function works pretty much the same as @ReplaceSubstring and works with arrays of ‘from’ and ‘to’ values.
Subject: RE: Use LS ‘Replace’ instead
Hi Doug I used replace function,Thanks a lot.
regards
soma