@“Change in address of the Official Point of Acceptance of Transactions (OPAT) of
Computer Age Management Services Limited (CAMS) Located at Himmatnagar, Gujrat.”
so above is my String, I read it as a string, but as you can see there is “@” which .ToString is unable to read, and I think this whole text is not considering to be a string . So I want to replace this @ with “” and " with “”
Root cause of the error is, your PdfName variable value have special character which is dividing the single string in two lines. This string File Explorer not accepting as a valid name.
If you copy it to notepad or excel you will see it. It’s getting splited in two lines without word wrap on.