Jump to content

Get substring within string


tmh766

Recommended Posts

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...

Link to comment
https://forums.phpfreaks.com/topic/38695-get-substring-within-string/
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.