AnsweredAssumed Answered

Replace Function Use For Spell Code

Question asked by melis.yazici on Apr 20, 2017
Latest reply on Apr 21, 2017 by melis.yazici

Hi,
In the description field  "  if it exists, I want to change it.
The following code is getting syntax error. I want to use this code in spell.
Is it possible use to replace function in spell code?
How can I do it?

 

Thanks

Ozge

 

***

string command2;

var res;
res = description.replace(/\"/g, "");

command2 = format('launchit C:\\ODYAFiles\\Odya_ResolvedDesc\\SDFieldUpdate.exe %s %s "%s" ', call_req_id, 'zODYA_ResolvedAciklama' , res );
logf (ERROR, format("zODYA_ResolvedAciklama alani guncellendi222 %s %s %s ", call_req_id,'zODYA_ResolvedAciklama', res ));
exec(command2);
***

Outcomes