SyntaxFix
Write A Post
Hire A Developer
Questions
String foo = "title part1.txt"; foo = foo.substring(0, foo.lastIndexOf('.'));