|
-
Nov 11th, 2006, 10:36 AM
#1
Thread Starter
Lively Member
Breaking Text Apart
I have a minor problem with a C# web app. I am trying to retrieve just the application name that an exception has occured. Basically when you retrieve the application path it comes up as the whole path. I need this broken up where just the application name appears.
D:\Inetpub\wwwroot\AppError
I just want AppError to appear. The problem is this has to dynamically do this because it might not be a web application sometimes.
Thanks in advance,
Pol
-
Nov 11th, 2006, 11:46 AM
#2
Re: Breaking Text Apart
System.IO.Path.GetFileName()
-
Nov 11th, 2006, 12:24 PM
#3
Thread Starter
Lively Member
Re: Breaking Text Apart **RESOLVED**
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|