I have a problem in c# with replace in a string with space at the end.
"ERROR.1️.1.1094".Replace("ERROR.1.", "")
Expected value is 1.1094 but it's not working.
Can anybody help me?
I have a problem in c# with replace in a string with space at the end.
"ERROR.1️.1.1094".Replace("ERROR.1.", "")
Expected value is 1.1094 but it's not working.
Can anybody help me?
Please try the following
"ERROR 1️ 1.1094".Replace("ERROR 1 ", string.Empty)