简体   繁体   中英

How to Remove Double Quotes from a Particular part in a String?

If String contains lots of DoubleQuotes how to delete particular DoubleQuote using C#

Requirement :

Normal :

Update "3D Text 1" "Text="3D Text"","Weight=Normal","Italics=False","Name=Arial","Base Embedding=Left to Right","Size=50"

Output Will have to come like this

Update "3D Text 1" "Text=3D Text","Weight=Normal","Italics=False","Name=Arial","Base Embedding=Left to Right","Size=50"

Here I removed the Double Quotes in 3D Text ; is it possible to do this programmatically? I dont want to remove all the DoubleQuotes.

Without understanding the proper syntax rules for a well-formed string, it will be difficult to determine which quotes are desired and which aren't.

Perhaps you can move further up the process and remove the quotes before forming string?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM