I am using the .NET Micro Framework 4.1, which does not implement methods Regexor String.Replace/ String.Removeas far as I know.
I have a line defined as:
string message = "[esc]vI AM A STRING. [esc]vI AM A STRING AND DO LOTS OF THINGS...";
Is there a way to remove all occurrences [esc]vfrom this line? Where is the escape character ( 0x1B) used followed by 0x76in NetMF?
This, hopefully, will leave me:
string message = "I AM A STRING. I AM A STRING AND DO LOTS OF THINGS...";
I thought about the possibility of using the method String.Split(), but it seems too memory intensive, since the code runs on a small NETMF memory.
source
share