I have users entering numbers into an EditText fields, but what I would like them to be able to enter is 100+32+10 into the fields as well. I expect simple expressions only, common four functions. In fact, just addition would cut it too.
For just addition, I guess it wouldn't be that hard to split up the string and do it myself I suppose, but I'm curious to know if there is a library which can do what I want much more cleanly.
Any suggestions?
string.split(). It will save the hassle of importing an entire library just for this. If you intend to expand to other functions as well, you will want to either look into regex or one of the libraries down below.