Einzelnen Beitrag anzeigen

mijack

Registriert seit: 18. Mai 2007
11 Beiträge
 
Delphi 2007 Enterprise
 
#1

extract subdirectory name

  Alt 19. Mai 2007, 16:09
let's suppose this :


Delphi-Quellcode:
[b]Label1.caption :='c:\Folfer1\file1'[/b]

i want to dispaly :

label2.caption:=File1 label3.caption:=' nothing to display '


[b]Label1.caption :='c:\Folder1\Folder2\file1'[/b]

i want to dispaly :

label2.caption:=File1 label3.caption:='repertoire2\'
  Mit Zitat antworten Zitat