Replace first and last character in string if the character is X

前端 未结 0 1480
我寻月下人不归
我寻月下人不归 2020-12-19 17:46

I want to replace the double quotes only if the string starts and ends with double quotes. Below are some examples:

str = \'"hello"\'
相关标签:
回答
  • 消灭零回复
提交回复
热议问题