How to split file name and the path name (was: Re: wxMenu and
wxUpdateUIEvent)
Igor Korot
ikorot at earthlink.net
Wed Feb 6 01:46:12 PST 2008
Thank you.
-----Original Message-----
>From: SAM <nospam at i.net>
>Sent: Feb 5, 2008 11:33 PM
>To: wx-users at lists.wxwidgets.org
>Subject: Re: How to split file name and the path name (was: Re: wxMenu and wxUpdateUIEvent)
>
>
>news:21751119.1202270814353.JavaMail.root at elwamui-muscovy.atl.sa.earthlink.net...
>> Sorry, send under the wrong subject line....
>>
>> -----Original Message-----
>>>From: Igor Korot <>
>>>Sent: Feb 5, 2008 10:06 PM
>>>To: wx-users at lists.wxwidgets.org, wx-users at lists.wxwindows.org
>>>Subject: Re: wxMenu and wxUpdateUIEvent
>>>
>>>Hi, ALL,
>>>Is there a way to get a file name only from the complete
>>>path that is represented by string? Something like, e.g.:
>>>
>>>"test.doc",
>>>
>>>out of
>>>
>>>"C:\Texts\test.doc".
>>>
>>>Problem is I need to keep the original file name, and thought
>>>that there is an easy way than just tokenize it or looking for
>>>the "." symbol....
>>>
>>>Thank you.
>>>
>
>Have a look in the docs: Alphabetical class
>reference\wxFileName::GetFullName()
>
>Also Functions\File functions\wxPathOnly() and wxSplitPath() (obsolete)
>
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list