bobtutos Posted July 14, 2013 Share Posted July 14, 2013 Hi everybody! I would like to ask for your help if it possible, I have a long sting and I want to chop it to small pieces. My string is:- $longstr = “Str1.htmlstr2.htmlstr3.html”; And I want the result to be like; $firstchoppedpiece = “Str1.html”; $secondchoppedpiece =”Str2.html”; $thirdchoppedpiece =”Str2.html”; Is it possible? Or is there any PHP function or method to break it into small pieace? Your replies are greatly appreciated. Thank very much. Link to comment Share on other sites More sharing options...
Recommended Posts