c# convert string that has ctrl+z to regular string -
I have such a string:
some_string = "A simple demo of SMS text messaging. " + Convert To face (26));
What is the easiest way to get rid of me?
Please note that sometimes some strings have 26 and sometimes not, and it can also be in different positions, so I have to know that the most versatile of getting rid of all four and What is the easiest way?
If it can be in different situations (not just the end):
someString = someString.Replace ("\ u001A", "");
Note that you have to use the return value of change
- the string is irreversible, so any methods that view Changing the material actually returns a new string with the appropriate change.
Comments
Post a Comment