Skip to content
Back to formatted view

Raw Message

Message-ID: <502E4E94.5070500@gmail.com>
Date: 2012-08-17T14:00:52Z
From: Rainer M Krug
Subject: Get the filename from the given path
In-Reply-To: <93A98E9D-88B6-4336-96D6-290F69D76046@xs4all.nl>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/08/12 15:04, Berend Hasselman wrote:
> 
> On Fri, Aug 17, 2012 at 5:28 AM, Rantony <antony.akkara at ge.com> wrote:
>> Hi,
>> 
>> Here i have a file path, for eg : - FPath <- "D:\\MyFolder\\MyFile.txt"
>> 
>> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
>> 
> 
> Please don't shout.

Just to explain - not everybody knows this:

writing in capital letters is considered as "shouting" in emails and in forums, and not used to
highlight certain parts.

Cheers,

Rainer


> 
> ?basename
> 
> 
> Berend
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAuTpQACgkQoYgNqgF2egqDSwCePmmZ7blv4vlwqF8ANufs13x8
YccAnA+eqjGmueHlOup083/WfSbNP7RL
=McDs
-----END PGP SIGNATURE-----