×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Hani Ibrahim
Added: Dec 31, 2016 12:31 AM
Modified: Dec 31, 2016 12:34 AM
Views: 13
/home/user/test.txt => /home/user/
  1. String pathName = pfad.substring(0, pfad.lastIndexOf(System.getProperty("file.separator")) + 1);