Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting File Names...
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Extracting File Names...
Divers
Thread ID:
00973941
Message ID:
00973941
Vues:
51
If I have a string:

"c:\temp\filename.txt"

Has anyone come up with a way of extracting only "filename.txt" with a one-liner?

I know I can use LastIndexOf and SubString but I was just wondering if there was a one liner with Regex or something...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform