Jump to content

Spliting a string into 2?


Liquid Fire

Recommended Posts

ok i am needing to knwo hwo to spilt up a string like:

string1: "c:\images\image.gif

to

string1: "c:\images\"
string2: "image.gif"

and it is only going to be used for directroy string so i need to be able to get the path including all directories in one string and the file name in the other.  how would I go about this?
Link to comment
https://forums.phpfreaks.com/topic/26378-spliting-a-string-into-2/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.