using indexOf and substring to calculate a number
<p>I'm not sure how to go about this, my program is supposed to get the user to input an IP address. the program is then supposed to return a value in decimal notation. e.g 134.115.64.1 is input and 2255699969 is output.</p>

<p>I was wondering if i could store 134,115,64 and 1 in variable.
if so, how could i go about it? A link to any sort of tutorial would be great as i haven't managed to find one my self.</p>

<p>Thanks</p>
