Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert string to int array

char c = '2';
int asInt = c - '0';
//asInt = 2 
Source by www.sitepoint.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #array
ADD COMMENT
Topic
Name
5+6 =