I want go through a string, and check if in the string is a char available.
For example:
My string is: string test = "100+20+3-17+2"
So now I go through my string and check the chars:
List<string> numbers= new List<string>();
foreach( char c in test)
{
   if (c =='+'|| c =='-'||c =='/'||c =='*')
   {
     //Now here i want to save all chars before '+' '-'  '/'  '*' in my list numbers. in this example: save 100, 20,3,17,2 in my list
   }
}
How would you do this?
 
     
     
     
     
    