Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

split on . in java

String textfile = "ReadMe.txt";
String filename = textfile.split(".")[0];
String extension = textfile.split(".")[1];
Source by javarevisited.blogspot.com #
 
PREVIOUS NEXT
Tagged: #split #java
ADD COMMENT
Topic
Name
5+9 =