Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

take string until /

String filename = "abc.def.ghi";

String start = StringUtils.substringBefore(filename, "."); // returns "abc"
 
PREVIOUS NEXT
Tagged: #string
ADD COMMENT
Topic
Name
6+6 =