Get String between Some Strings – PHP

I find that sometimes I need to get some string which is between 2 so called delimiters. I don’t think PHP has a built in function to do this, so I was searching around for a solution and found a simple function which does exactly what I am looking for: Read the rest of this entry »