How to remove special character from a string through Siebel eScript

I have created a simple Business Service, which takes single input and check if that string contain "-" and it will remove and return the final value in output argument.

Below is the script:

var IP = Inputs.GetProperty("in");
var rep = /(-)/g;
IP = IP.replace(rep , "");
Outputs.SetProperty("out", IP);


How to create Business Service in Siebel
← Back to Home

Comments

Post a Comment