How do I split these strings?
If I have these inputs, wich could be random numbers.
How do I split the string into two parts where the middle "-" is the where the split happens?
I will use the splits in a fraction calculator.
"2/3 - 2/-3"
"2/-3 - 2/3"
"2/3 - 2/3"
"-2/-3 - 2/-3"
How do I split the string into two parts where the middle "-" is the where the split happens?
I will use the splits in a fraction calculator.
"2/3 - 2/-3"
"2/-3 - 2/3"
"2/3 - 2/3"
"-2/-3 - 2/-3"