Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java remove first digit from int

int x = 123456789;
int new_x = Integer.parseInt(Integer.toString(x).substring(1));
Comment

PREVIOUS NEXT
Code Example
Java :: edittext hint color 
Java :: how to take space separated input in java 
Java :: java for map 
Java :: android back navigation 
Java :: centos install openjdk 11 
Java :: java find item in list by property 
Java :: for loop in multidimensional array java 
Java :: stream to list 
Java :: how to make jframe visible 
Java :: java jtextfield text bold 
Java :: java take screenshot 
Java :: java how to open a link 
Java :: list of longs to comma separeated string java 
Java :: complicated average java code 
Java :: java list addAll stream() filtereted 
Java :: Example on: Getting the substring after the first occurrence of a separator in Java 
Java :: find all possible substrings of a string java 
Java :: Bukkit debug message 
Java :: how to print text in java 
Java :: lakshya 
Java :: solucion var java 
Java :: go to activity android 
Java :: java parse xml string 
Java :: jlabel on the center of a jpanel 
Java :: java one line if else 
Java :: java compare two lists ignore case 
Java :: error: package androidx.multidex does not exist 
Java :: Convert Octal to Binary in java 
Java :: how to get contacts permission in android 
Java :: creating modulu function withou using % java 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =