Raised This Month: $ Target: $400
 0% 

Cutting Folder from a String


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 09-08-2013 , 16:13   Re: Cutting Folder from a String
Reply With Quote #10

Well then as it been said you could iterate bacward because starting from the end you will have less to count.
As a ideea when you hit the first '/' from the end then stop and replace the iterator position with a null terminated char then copyc until you find that null char, or use that position and make a strmid function something like substr.

Last edited by Clauu; 09-08-2013 at 16:14.
Clauu is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode