should return 15 if string is //;\n1;2;3;4;5
should throw an error when string is 1,-2