Can you provide some more details like:
input and expected output?
features seems empty. Can you check content of it?
Try to Assign the different variable in the LHS
Before this Check whether did you receive the data from the vaildFeatures or Features
Str_Ouput = vaildFeatures.Replace(Features,"")
Share the Input and Output string @Nazeer
Hi @Nazeer ,
We would suggest to perform a Debug and Check the contents of the variables in the Immediate Panel. You will be able to identify the reason for the error this way.
Check the below post on more info on Debugging :