How to split file name and the path name (was: Re: wxMenu and wxUpdateUIEvent)

Igor Korot ikorot at earthlink.net
Tue Feb 5 20:06:54 PST 2008


Sorry, send under the wrong subject line....

-----Original Message-----
>From: Igor Korot <ikorot at earthlink.net>
>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.
>
>---------------------------------------------------------------------
>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