Programming-Idioms

History of Idiom 22 > diff from v18 to v19

Edit summary for version 19 :

Version 18

2015-09-03, 12:44:26

Version 19

2015-09-03, 13:21:25

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Code
(Integer/parseInt s)
Doc URL
http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#parseInt-java.lang.String-