My application has a requirement to remove special characters from a string. I can achieve this by reading the string of special characters from the appsettinf key pair.
EX:
<appSettings> <add key="ExcludeSpecialChars" value ="%'^"/> </appSettings>
I ran into a problem when I turn on ex too:
key="ExcludeSpecialChars" value ="&%'^"
The application does not create and shows the error "cannot parse the object."
Is there a workaround to include & in the string of special characters?
source share