A
AkjoHD
Guest
I want to split an equation into 3 sections. The first number, the second number and the operator itself.
Example:
Input (string_print) = print 10+15
num1 = 10
num2 = 15
op = "+"
This is the code I use for getting everything after the "print ".
Example:
Input (string_print) = print 10+15
num1 = 10
num2 = 15
op = "+"
Code:
eq = string_copy(string_print, 7, string_length(string_print)-6)