Say we have this string:
this is an example: 'this is too'
I need this output:
thisisanexample:'this is too'
I need a method to be able to remove whitespace in a string except where any given section is surrounded by a character, in this case, '
.
If it helps, I found this post here, but it's in python and I have just about no idea how to translate that.
If you're wondering, this is for a data parser.