Fixed ipArrayFromString so last value is correct.

Last value in the ipArray was always returning 0.
Merge pull request #1 from crstffr/patch-1

Fixed ipArrayFromString so last value is correct.