how to replace string unicodes in C# [on hold]












0














I have a string str and I want to replace characters' unicodes,
I do it like this



str.Replace('u1610', 'u1740').Replace('u1603', 'u1705');


but it does not work.
How should I do it?










share|improve this question







New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Mokubai 2 days ago



  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.













  • it does not work is not a useful statement. What does it output?
    – phuclv
    2 days ago
















0














I have a string str and I want to replace characters' unicodes,
I do it like this



str.Replace('u1610', 'u1740').Replace('u1603', 'u1705');


but it does not work.
How should I do it?










share|improve this question







New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Mokubai 2 days ago



  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.













  • it does not work is not a useful statement. What does it output?
    – phuclv
    2 days ago














0












0








0







I have a string str and I want to replace characters' unicodes,
I do it like this



str.Replace('u1610', 'u1740').Replace('u1603', 'u1705');


but it does not work.
How should I do it?










share|improve this question







New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have a string str and I want to replace characters' unicodes,
I do it like this



str.Replace('u1610', 'u1740').Replace('u1603', 'u1705');


but it does not work.
How should I do it?







unicode c# string






share|improve this question







New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Alireza Mn

1




1




New contributor




Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Alireza Mn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by Mokubai 2 days ago



  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by Mokubai 2 days ago



  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.












  • it does not work is not a useful statement. What does it output?
    – phuclv
    2 days ago


















  • it does not work is not a useful statement. What does it output?
    – phuclv
    2 days ago
















it does not work is not a useful statement. What does it output?
– phuclv
2 days ago




it does not work is not a useful statement. What does it output?
– phuclv
2 days ago










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀