[Solved] how to parse a file-string Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
idhan
Experienced Solver
Experienced Solver
Posts: 88
Joined: Tue Feb 28, 2006 9:03 pm

[Solved] how to parse a file-string

Post by idhan » Sun Mar 02, 2008 1:32 pm

how can I parse a file-string such as :

"c:\user\myuser\myfoler\file.txt"

to get for example the folder of the file?,
is there any wxClass to do this or I should do it my self?

Thanks..
Last edited by idhan on Sun Mar 02, 2008 1:36 pm, edited 1 time in total.

idhan
Experienced Solver
Experienced Solver
Posts: 88
Joined: Tue Feb 28, 2006 9:03 pm

Post by idhan » Sun Mar 02, 2008 1:35 pm

http://wxwidgets.org/manuals/stable/wx_wxfilename.html

Thanks to morlock_of_death from wxIRC channel.

Post Reply