I have to replace the special characters in my string with underscore. replace()
function is used to do it . I know that.
My string is "545123_Claims#Claims#Claims000117".
But the issue is that replace()
accepts sting as input.
Actually my string is in an array like filArr= ["545123_Claims#Claims#Claims000117"]
.
So how can I replace the special character in thisstring which is inside an array?