tmh766 Posted February 15, 2007 Share Posted February 15, 2007 How is it possible to search a string, find a start character and save all the characters after the start character into a variable untill an ending character is found? I know its something like this... $startPlace=strpos($content,"start string"); But I dont know a way to save the content after the start character untill and ending character is found... Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 15, 2007 Share Posted February 15, 2007 $sub = substr($string, strpos($string, 'search')); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.