View Single Post
Old 08-10-2005, 08:25 AM  
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
fast unix question

I have this string:

Code:
a = "/home/blackgeer/1022/index.html"
how do I chop off the "index.html" part and only keep the "/home/blackgeer/1022/" part ?
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote