×

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:24 AM
Modified: Dec 31, 2016 12:32 AM
Views: 5
/home/user/test.txt => test.txt
  1. String fileName = pfad.substring(pfad.lastIndexOf(System.getProperty("file.separator")) + 1);