I found easy solution.
You could just write it instead of complain that there is no code in the question.
string expression;//my calculator expression
string[] operators;//array that contains both unary and binary operators.
for(int i=0;i<operators.length;i++)
{
expression = expression.replace(operators[i]," "+operators[i]+ " ");
}
string[] Values= expression.split(" ");
solved Split calculator expression with binary and unary operations [closed]