So I have a vector that has a many chars stored init, for now lets take the vector as
['1', '-', '1', '2']
Now what I want is for the left side of the vector (
1) converted to an integer and the right side also converted to an integer but seperated like I want to have a variable for the left side and right side, But the thing is from the input or data I have the number of digits can be random ,
I want to split the right side from
- and the left side from
- so I can use those integers later.