.replaceFirst() Function is Broken !!!

.replaceFirst() Function is Broken !!!

@ZOHO Creator Team:

Looks like the .replaceFirst built in function is broken ... when I try to Save (previously working) script sections that deploy this function ... even without making any changes ... I now get an error message ... here is an example script command ...
  1. input.Result_of_Action = (input.Original).replaceFirst(rFrom,rTo,true);
... and here is the error message when I try to Save the code ...

Encountered "," at line 3, column 65.
Was expecting one of:
")" ...
"*" ...
"/" ...
"%" ...
"||" ...
"&&" ...
"==" ...
"!=" ...
">" ...
">=" ...
"<" ...
"<=" ...
"." ...
"not" ...
"in" ...
"is" ...
"+" ...
"-" ...
"(" ...






















Tried it in a couple of Applications ... one of which was successfully saved the last time this function was "fixed" (again) by the ZOHO Creator Team ... another one was in an Application that I was able to Save on Jan/28.


Please investigate and fix immediately as this means that all code sections that include this function can not be modified.


Gaev