So lets say i have a string : "a = b + c - d"
I want to create a character array that will hold these expression signs(=,-,+,) and convert them to an array for example in this case the array would be {'=','+','-'}
example of the code:
string s = "a = b + c -d"
char[] array = s.???('=','-','+');
is there an easy way to this is without loops?
Thanks in advance :)