I am making a web-based application and i have text-fields where the values are stored as Strings. The problem is that some of the text-fields are to be parsed into ints and you can store much bigger numbers in Strings than you can in an int. My question is, what is the best way to make sure that the String number can be parsed into an int without erroring out.
Share
You can use a try/catch structure for that.