Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

text before dot java

String filename = "abc.def.ghi";     // full file name
String[] parts = filename.split("."); // String array, each element is text between dots

String beforeFirstDot = parts[0];    // Text before the first dot
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #text #dot #java
ADD COMMENT
Topic
Name
1+8 =